Package org.mule.apikit.model
Interface ApiSpecification
- All Superinterfaces:
Serializable
-
Method Summary
Modifier and TypeMethodDescriptiongetResource(String path) getType()getUri()Returns the webhooks defined in the API specification (OAS 3.1+).
-
Method Details
-
getResource
-
getConsolidatedSchemas
-
getCompiledSchemas
-
getBaseUri
String getBaseUri() -
getLocation
String getLocation() -
getResources
-
getVersion
String getVersion() -
getBaseUriParameters
-
getSecuritySchemes
List<Map<String,SecurityScheme>> getSecuritySchemes() -
getTraits
-
getUri
String getUri() -
getSchemas
-
getAllReferences
-
dump
-
getApiVendor
ApiVendor getApiVendor() -
getType
ApiType getType() -
getWebhooks
Returns the webhooks defined in the API specification (OAS 3.1+). Each entry maps the webhook name to itsResourcerepresentation, which contains the operations (actions) and their request/response schemas.- Returns:
- a map of webhook name to Resource, or an empty map if the spec does not define webhooks or the format does not support them.
-