Package io.swagger.v3.jaxrs2.integration
Class JaxrsOpenApiContext<T extends JaxrsOpenApiContext>
- java.lang.Object
-
- io.swagger.v3.oas.integration.GenericOpenApiContext<JaxrsOpenApiContext>
-
- io.swagger.v3.jaxrs2.integration.JaxrsOpenApiContext<T>
-
- All Implemented Interfaces:
OpenApiContext
- Direct Known Subclasses:
XmlWebOpenApiContext
public class JaxrsOpenApiContext<T extends JaxrsOpenApiContext> extends GenericOpenApiContext<JaxrsOpenApiContext> implements OpenApiContext
-
-
Field Summary
-
Fields inherited from class io.swagger.v3.oas.integration.GenericOpenApiContext
configLocation, id, parent, resourceClasses, resourcePackages
-
Fields inherited from interface io.swagger.v3.oas.integration.api.OpenApiContext
OPENAPI_CONTEXT_ID_DEFAULT, OPENAPI_CONTEXT_ID_KEY, OPENAPI_CONTEXT_ID_PREFIX
-
-
Constructor Summary
Constructors Constructor Description JaxrsOpenApiContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tapp(javax.ws.rs.core.Application app)protected OpenApiReaderbuildReader(OpenAPIConfiguration openApiConfiguration)protected OpenApiScannerbuildScanner(OpenAPIConfiguration openApiConfiguration)-
Methods inherited from class io.swagger.v3.oas.integration.GenericOpenApiContext
buildModelConverters, buildObjectMapperProcessor, cacheTTL, configLocation, convertToOpenAPI31, getCacheTTL, getConfigLocation, getId, getKnownLocations, getLocationLoaders, getModelConverters, getObjectMapperProcessor, getOpenApiConfiguration, getOpenApiReader, getOpenApiScanner, getOutputJsonMapper, getOutputYamlMapper, getParent, getResourceClasses, getResourcePackages, getSchemaResolution, id, init, isConvertToOpenAPI31, isOpenAPI31, loadConfiguration, modelConverters, objectMapperProcessor, openAPI31, openApiConfiguration, openApiReader, openApiScanner, outputJsonMapper, outputYamlMapper, parent, read, register, resetReader, resourceClasses, resourcePackages, schemaResolution, setCacheTTL, setConfigLocation, setConvertToOpenAPI31, setId, setModelConverters, setObjectMapperProcessor, setOpenAPI31, setOpenApiConfiguration, setOpenApiReader, setOpenApiScanner, setOutputJsonMapper, setOutputYamlMapper, setParent, setResourceClasses, setResourcePackages, setSchemaResolution
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.swagger.v3.oas.integration.api.OpenApiContext
getConfigLocation, getId, getOpenApiConfiguration, getOutputJsonMapper, getOutputYamlMapper, getParent, init, read, setModelConverters, setObjectMapperProcessor, setOpenApiReader, setOpenApiScanner, setOutputJsonMapper, setOutputYamlMapper
-
-
-
-
Method Detail
-
app
public T app(javax.ws.rs.core.Application app)
-
buildReader
protected OpenApiReader buildReader(OpenAPIConfiguration openApiConfiguration) throws Exception
- Overrides:
buildReaderin classGenericOpenApiContext<JaxrsOpenApiContext>- Throws:
Exception
-
buildScanner
protected OpenApiScanner buildScanner(OpenAPIConfiguration openApiConfiguration) throws Exception
- Overrides:
buildScannerin classGenericOpenApiContext<JaxrsOpenApiContext>- Throws:
Exception
-
-