Class OpenAPIRecord
java.lang.Object
com.predic8.membrane.core.openapi.serviceproxy.OpenAPIRecord
-
Constructor Summary
ConstructorsConstructorDescriptionUsed for testsOpenAPIRecord(io.swagger.v3.oas.models.OpenAPI api, OpenAPISpec spec) -
Method Summary
Modifier and TypeMethodDescriptionio.swagger.v3.oas.models.OpenAPIgetApi()getSpec()com.fasterxml.jackson.databind.JsonNoderewriteOpenAPI(Exchange exc, URIFactory uriFactory)
-
Constructor Details
-
OpenAPIRecord
public OpenAPIRecord()Used for tests -
OpenAPIRecord
- Throws:
IOException
-
-
Method Details
-
rewriteOpenAPI
public com.fasterxml.jackson.databind.JsonNode rewriteOpenAPI(Exchange exc, URIFactory uriFactory) throws URISyntaxException - Throws:
URISyntaxException
-
getApi
public io.swagger.v3.oas.models.OpenAPI getApi() -
getSpec
-