Package org.apache.cxf.jaxrs.openapi
Class OpenApiCustomizedResource
java.lang.Object
io.swagger.v3.jaxrs2.integration.resources.BaseOpenApiResource
org.apache.cxf.jaxrs.openapi.OpenApiCustomizedResource
- Direct Known Subclasses:
OpenApiFeature.CustomizedSwaggerContainerRequestFilter
@Path("/openapi.{type:json|yaml}")
public class OpenApiCustomizedResource
extends io.swagger.v3.jaxrs2.integration.resources.BaseOpenApiResource
-
Field Summary
Fields inherited from class io.swagger.v3.jaxrs2.integration.resources.BaseOpenApiResource
configLocation, openApiConfiguration, resourcePackages
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
getOpenApi
(jakarta.ws.rs.core.Application app, jakarta.servlet.ServletConfig config, jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo uriInfo, String type) Methods inherited from class io.swagger.v3.jaxrs2.integration.resources.BaseOpenApiResource
configLocation, getConfigLocation, getContextId, getOpenApi, getOpenApiConfiguration, getResourcePackages, openApiConfiguration, resourcePackages, setConfigLocation, setOpenApiConfiguration, setResourcePackages
-
Constructor Details
-
OpenApiCustomizedResource
-
-
Method Details
-
getOpenApi
@GET @Produces({"application/json","application/yaml"}) public jakarta.ws.rs.core.Response getOpenApi(@Context jakarta.ws.rs.core.Application app, @Context jakarta.servlet.ServletConfig config, @Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.ws.rs.core.UriInfo uriInfo, @PathParam("type") String type) throws Exception - Throws:
Exception
-