public class SwaggerView
extends io.dropwizard.views.View
SwaggerBundle.| Modifier | Constructor and Description |
|---|---|
protected |
SwaggerView(String template)
Defaults asset path to "/assets/" and the spec path to "/swagger.json".
|
protected |
SwaggerView(String template,
String assetsPath)
Defaults spec path to "/swagger.json".
|
protected |
SwaggerView(String template,
String assetsPath,
String swaggerSpecUrl) |
protected SwaggerView(String template)
template - the mustache template to render the view withprotected SwaggerView(String template, String assetsPath)
template - the mustache template to render the view withassetsPath - the location of the assets, relative to the application's assets directory, to be used
by the rendered viewprotected SwaggerView(String template, String assetsPath, String swaggerSpecUrl)
template - the mustache template to render the view withassetsPath - the location of the assets, relative to the application's assets directory, to be used
by the rendered viewswaggerSpecUrl - the URL used to obtain a Swagger SpecCopyright © 2015. All rights reserved.