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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OpenApiCustomizedResource

      public OpenApiCustomizedResource(OpenApiCustomizer customizer)
  • 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