Package com.axway.apim.api.specification
Class ODataSpecification
- java.lang.Object
-
- com.axway.apim.api.specification.APISpecification
-
- com.axway.apim.api.specification.ODataSpecification
-
- Direct Known Subclasses:
ODataV2Specification,ODataV3Specification,ODataV4Specification
public abstract class ODataSpecification extends APISpecification
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.axway.apim.api.specification.APISpecification
APISpecification.APISpecType
-
-
Field Summary
Fields Modifier and Type Field Description protected io.swagger.v3.oas.models.OpenAPIopenAPI-
Fields inherited from class com.axway.apim.api.specification.APISpecification
apiSpecificationContent, apiSpecificationFile, filterConfig, mapper
-
-
Constructor Summary
Constructors Constructor Description ODataSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureBasePath(String backendBasePath, API api)protected io.swagger.v3.oas.models.responses.ApiResponsecreateResponse(String description, io.swagger.v3.oas.models.media.Schema<?> schema)byte[]getApiSpecificationContent()StringgetDescription()protected io.swagger.v3.oas.models.media.Schema<?>getSimpleSchema(String type)-
Methods inherited from class com.axway.apim.api.specification.APISpecification
compareJSON, compareString, equals, filterAPISpecification, getAPIDefinitionType, getApiSpecificationFile, hashCode, parse, setApiSpecificationFile, setFilterConfig, setMapperForDataFormat, updateBasePath
-
-
-
-
Method Detail
-
configureBasePath
public void configureBasePath(String backendBasePath, API api) throws AppException
- Specified by:
configureBasePathin classAPISpecification- Throws:
AppException
-
getApiSpecificationContent
public byte[] getApiSpecificationContent()
- Specified by:
getApiSpecificationContentin classAPISpecification
-
createResponse
protected io.swagger.v3.oas.models.responses.ApiResponse createResponse(String description, io.swagger.v3.oas.models.media.Schema<?> schema)
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin classAPISpecification
-
getSimpleSchema
protected io.swagger.v3.oas.models.media.Schema<?> getSimpleSchema(String type)
-
-