PL-9387 Provide project-specific OpenAPI (swagger) documentation for REST API

This commit is contained in:
Daniil Tsarev 2018-04-09 10:27:33 +04:00
parent 7bafde32fd
commit 7bb3416081

View File

@ -405,9 +405,7 @@ public class SwaggerGeneratorBean implements SwaggerGenerator {
.property(new BooleanProperty()), .property(new BooleanProperty()),
new QueryParameter() new QueryParameter()
.name("view") .name("view")
.description("Name of the view which is used for loading the entity. Specify this parameter " + .description("Name of the view which is used for loading the entity.")
"if you want to extract entities with the view other than it is defined " +
"in the REST queries configuration file.")
.property(new StringProperty()) .property(new StringProperty())
); );