@Path(value="/meta/swagger") public class SwaggerUiResource extends Object
Constructor and Description |
---|
SwaggerUiResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.StreamingOutput |
getSwaggerUi(javax.ws.rs.core.UriInfo uriInfo)
Returns the Swagger UI.
|
javax.ws.rs.core.Response |
getSwaggerUiAsset(String assetPath)
Serves the assets required by the Swagger UI.
|
@GET @Path(value="/ui") @Produces(value="text/html") public javax.ws.rs.core.StreamingOutput getSwaggerUi(@Context javax.ws.rs.core.UriInfo uriInfo)
uriInfo
- The UriInfo@GET @Path(value="/{asset: .+}") public javax.ws.rs.core.Response getSwaggerUiAsset(@PathParam(value="asset") String assetPath)
assetPath
- The asset pathCopyright © 2020 Cerner Innovation, Inc.. All rights reserved.