@RestController(value="cuba_DocumentationController")
@RequestMapping(value="/v2/docs")
public class DocumentationController
extends java.lang.Object
Constructor and Description |
---|
DocumentationController() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProjectSwaggerJson() |
java.lang.String |
getProjectSwaggerYaml() |
java.lang.String |
getSwaggerJson() |
java.lang.String |
getSwaggerYaml() |
@RequestMapping(value="/swagger.yaml", method=GET, produces="application/yaml") public java.lang.String getSwaggerYaml()
@RequestMapping(value="/swagger.json", method=GET, produces="application/json") public java.lang.String getSwaggerJson()
@RequestMapping(value="/swaggerDetailed.yaml", method=GET, produces="application/yaml") public java.lang.String getProjectSwaggerYaml()
@RequestMapping(value="/swaggerDetailed.json", method=GET, produces="application/json") public java.lang.String getProjectSwaggerJson()