Class OpenApiCustomizedResource

    • Field Summary

      • Fields inherited from class io.swagger.v3.jaxrs2.integration.resources.BaseOpenApiResource

        configLocation, openApiConfiguration, resourcePackages
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response getOpenApi​(javax.ws.rs.core.Application app, javax.servlet.ServletConfig config, javax.ws.rs.core.HttpHeaders headers, javax.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 Detail

      • OpenApiCustomizedResource

        public OpenApiCustomizedResource​(OpenApiCustomizer customizer)
    • Method Detail

      • getOpenApi

        @GET
        @Produces({"application/json","application/yaml"})
        public javax.ws.rs.core.Response getOpenApi​(@Context
                                                    javax.ws.rs.core.Application app,
                                                    @Context
                                                    javax.servlet.ServletConfig config,
                                                    @Context
                                                    javax.ws.rs.core.HttpHeaders headers,
                                                    @Context
                                                    javax.ws.rs.core.UriInfo uriInfo,
                                                    @PathParam("type")
                                                    String type)
                                             throws Exception
        Throws:
        Exception