Skip to content
Ryan Heaton edited this page Sep 17, 2015 · 5 revisions

Swagger Module

The Swagger deployment module generates a Swagger UI.

Configuration

The configuration for the Swagger module is specified by the swagger child element of the modules element of the enunciate configuration file.

attribute description
host The "host" attribute specifies the host used for the Swagger UI.
basePath The "basePath" attribute specifies the base path used for the Swagger UI.
docsSubdir The "docsSubdir" attribute is used to specify the directory name for the Swagger UI in the deployed application. Default: "ui"
css The "css" attribute is used to specify the file to be used as the cascading stylesheet for the HTML. If one isn't supplied, a default will be provided.
base The "base" attribute specifies a gzipped file or a directory to use as the swagger ui base. If none is supplied, a default base will be provided.
freemarkerProcessingTemplate The "freemarkerProcessingTemplate" attribute specifies the file that is the freemarker processing template to use to generate swagger JSON. If none is supplied, a default one will be used.

Elements

facets

Facet configuration for the module. See Facets.

Clone this wiki locally