public class SwaggerRest extends Object
Constructor and Description |
---|
SwaggerRest() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getSwagger(javax.servlet.http.HttpServletRequest request,
String strVersion)
Get Swagger.json
|
public javax.ws.rs.core.Response getSwagger(@Context javax.servlet.http.HttpServletRequest request, String strVersion) throws MalformedURLException, IOException
request
- the requeststrVersion
- the versionMalformedURLException
- exceptionIOException
- exceptionCopyright © 2018 City of Paris. All rights reserved.