swagger-ui: Example/Examples in @ApiParam not showing in swagger-ui
At first what we are using:
- Latest Swagger-ui (3.9.3), tested from dist directory and from unpkg.com
- swagger-core 1.5.18 with Java8 and Jersey 2.26
The Problem is our examples are not shown in swagger-ui documentation. If we load our documentation to editor.swagger.io, then it works fine.
Here is an example:
@ApiParam(value = "Printer config in json format", required = false, example = ApiDocuExamples.PRINTER_CONFIG)
@FormParam("config") String configJson,
There is no difference in using example or examples we tried both. This is how it looks like in swagger-ui:

Is this a known issue or are we doing something wrong?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (7 by maintainers)
what do you mean by auto-generated? auto-magically? something is generating it, that something is your problem not the UI