Class SwaggerAdapter
java.lang.Object
com.predic8.membrane.core.interceptor.swagger.SwaggerAdapter
- All Implemented Interfaces:
SwaggerCompatibleOpenAPI
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SwaggerAdapter
public SwaggerAdapter(io.swagger.models.Swagger 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
-
convert
public io.swagger.v3.oas.models.PathItem convert(io.swagger.models.Path v2Path) -
toJSON
- Specified by:
toJSONin interfaceSwaggerCompatibleOpenAPI- Throws:
UnsupportedEncodingException
-
setHost
- Specified by:
setHostin interfaceSwaggerCompatibleOpenAPI
-
isNull
public boolean isNull()- Specified by:
isNullin interfaceSwaggerCompatibleOpenAPI
-