@Path(value="/swagger.{type:json|yaml}")
public class CustomApiListingResource
extends io.swagger.jaxrs.listing.BaseApiListingResource
https://github.com/swagger-api/swagger-core/issues/2239| Constructor and Description |
|---|
CustomApiListingResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getListing(javax.ws.rs.core.Application app,
javax.servlet.ServletConfig sc,
javax.servlet.FilterConfig fc,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo,
String type) |
@GET
@Produces(value={"application/json","application/yaml"})
public javax.ws.rs.core.Response getListing(@Context
javax.ws.rs.core.Application app,
@Context
javax.servlet.ServletConfig sc,
@Context
javax.servlet.FilterConfig fc,
@Context
javax.ws.rs.core.HttpHeaders headers,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@PathParam(value="type")
String type)
throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2019. All rights reserved.