@Path(value="/openapi.{type:json|yaml}")
public class OpenApiCustomizedResource
extends io.swagger.v3.jaxrs2.integration.resources.BaseOpenApiResource
Constructor and Description |
---|
OpenApiCustomizedResource(OpenApiCustomizer customizer) |
Modifier and Type | Method and 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) |
configLocation, getConfigLocation, getContextId, getOpenApi, getOpenApiConfiguration, getResourcePackages, openApiConfiguration, resourcePackages, setConfigLocation, setOpenApiConfiguration, setResourcePackages
public OpenApiCustomizedResource(OpenApiCustomizer customizer)
@GET @Produces(value={"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(value="type") String type) throws Exception
Exception
Apache CXF