@Controller
public class StaticSwaggerApiDoc
extends java.lang.Object
The static api doc files are created by the integration test class SwaggerStaticIT
.
For more details see http://dev.e-taxonomy.eu/trac/wiki/cdmlib-remote-webappConfigurationAndBootstrapping
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_PATH |
static java.lang.String |
BASE_PATH_REGEX |
static java.lang.String |
HOST |
static java.lang.String |
HOST_REGEX |
static java.lang.String |
JSON |
static java.lang.String |
SWAGGER_STATIC |
Constructor and Description |
---|
StaticSwaggerApiDoc() |
Modifier and Type | Method and Description |
---|---|
void |
apiDocs(java.lang.String group,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
configurationUi(javax.servlet.http.HttpServletResponse response) |
void |
swaggerResources(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
swaggerResourcesConfiguration(java.lang.String filename,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public static final java.lang.String SWAGGER_STATIC
public static final java.lang.String JSON
public static final java.lang.String HOST
public static final java.lang.String HOST_REGEX
public static final java.lang.String BASE_PATH
public static final java.lang.String BASE_PATH_REGEX
@RequestMapping(value="configuration/ui", method=GET) public void configurationUi(javax.servlet.http.HttpServletResponse response) throws java.io.IOException
java.io.IOException
@RequestMapping(value="swagger-resources", method=GET) public void swaggerResources(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
java.io.IOException
@RequestMapping(value="swagger-resources/configuration/{filename}", method=GET) public void swaggerResourcesConfiguration(@PathVariable(value="filename") java.lang.String filename, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
java.io.IOException
@RequestMapping(value="/v2/api-docs", method=GET) public void apiDocs(@RequestParam(value="group",required=true) java.lang.String group, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
java.io.IOException
Copyright © 2007-2020 EDIT. All Rights Reserved.