Class OpenAPIAdapter
java.lang.Object
com.predic8.membrane.core.interceptor.swagger.OpenAPIAdapter
- All Implemented Interfaces:
SwaggerCompatibleOpenAPI
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OpenAPIAdapter
public OpenAPIAdapter(io.swagger.v3.oas.models.OpenAPI api)
-
-
Method Details
-
getHost
- Specified by:
getHostin interfaceSwaggerCompatibleOpenAPI
-
getBasePath
- Specified by:
getBasePathin interfaceSwaggerCompatibleOpenAPI
-
getPaths
public io.swagger.v3.oas.models.Paths getPaths()- Specified by:
getPathsin interfaceSwaggerCompatibleOpenAPI
-
toJSON
- Specified by:
toJSONin interfaceSwaggerCompatibleOpenAPI- Throws:
UnsupportedEncodingException
-
setHost
- Specified by:
setHostin interfaceSwaggerCompatibleOpenAPI
-
isNull
public boolean isNull()- Specified by:
isNullin interfaceSwaggerCompatibleOpenAPI
-