Package org.mule.amf.impl.model
Class AMFImpl
java.lang.Object
org.mule.amf.impl.model.AMFImpl
- All Implemented Interfaces:
Serializable,org.mule.apikit.model.ApiSpecification
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAMFImpl(amf.apicontract.client.platform.model.domain.api.WebApi webApi, List<String> references, org.mule.apikit.model.ApiVendor vendor, String location, AMFParserWrapper parser) -
Method Summary
Modifier and TypeMethodDescriptiondumpAmf()org.mule.apikit.model.ApiVendoramf.apicontract.client.platform.AMFBaseUnitClientorg.mule.apikit.model.ResourcegetResource(String path) org.mule.apikit.ApiTypegetType()getUri()booleanrenderApi(amf.core.client.platform.model.document.Document document) <W> voidrenderApi(amf.core.client.platform.model.document.Document document, org.yaml.builder.JsonOutputBuilder<W> wJsonOutputBuilder) voidupdateBaseUri(String baseUri) Updates webApi's base URI.voidwriteAMFModel(OutputStream outputStream)
-
Constructor Details
-
AMFImpl
public AMFImpl(amf.apicontract.client.platform.model.domain.api.WebApi webApi, List<String> references, org.mule.apikit.model.ApiVendor vendor, String location, AMFParserWrapper parser)
-
-
Method Details
-
getResource
- Specified by:
getResourcein interfaceorg.mule.apikit.model.ApiSpecification
-
getConsolidatedSchemas
- Specified by:
getConsolidatedSchemasin interfaceorg.mule.apikit.model.ApiSpecification
-
getCompiledSchemas
- Specified by:
getCompiledSchemasin interfaceorg.mule.apikit.model.ApiSpecification
-
getBaseUri
- Specified by:
getBaseUriin interfaceorg.mule.apikit.model.ApiSpecification
-
getLocation
- Specified by:
getLocationin interfaceorg.mule.apikit.model.ApiSpecification
-
getResources
- Specified by:
getResourcesin interfaceorg.mule.apikit.model.ApiSpecification
-
getVersion
- Specified by:
getVersionin interfaceorg.mule.apikit.model.ApiSpecification
-
getBaseUriParameters
- Specified by:
getBaseUriParametersin interfaceorg.mule.apikit.model.ApiSpecification
-
getSecuritySchemes
- Specified by:
getSecuritySchemesin interfaceorg.mule.apikit.model.ApiSpecification
-
getTraits
- Specified by:
getTraitsin interfaceorg.mule.apikit.model.ApiSpecification
-
getUri
- Specified by:
getUriin interfaceorg.mule.apikit.model.ApiSpecification
-
dump
- Specified by:
dumpin interfaceorg.mule.apikit.model.ApiSpecification
-
getApiVendor
public org.mule.apikit.model.ApiVendor getApiVendor()- Specified by:
getApiVendorin interfaceorg.mule.apikit.model.ApiSpecification
-
getType
public org.mule.apikit.ApiType getType()- Specified by:
getTypein interfaceorg.mule.apikit.model.ApiSpecification
-
getSchemas
- Specified by:
getSchemasin interfaceorg.mule.apikit.model.ApiSpecification
-
getAllReferences
- Specified by:
getAllReferencesin interfaceorg.mule.apikit.model.ApiSpecification
-
dumpAmf
-
writeAMFModel
-
updateBaseUri
Updates webApi's base URI.- Parameters:
baseUri- new base URI value
-
includesCallbacks
public boolean includesCallbacks() -
renderApi
-
getRenderClient
public amf.apicontract.client.platform.AMFBaseUnitClient getRenderClient() -
renderApi
public <W> void renderApi(amf.core.client.platform.model.document.Document document, org.yaml.builder.JsonOutputBuilder<W> wJsonOutputBuilder)
-