I'm working on a Rest API using java 7 and Spring. I have a Swagger documentation using library swagger-jersey2-jaxrs to generate my swagger.json.
To display it, i'm using Swagger-ui from the dist repository (https://github.com/swagger-api/swagger-ui/tree/master/dist).
My problem is that when i display my Swagger documentation, the query param example isn't and i dont know why. If i try with an "official" json (https://petstore.swagger.io/v2/swagger.json) it is not displayed too.
I have the same behaviour for the query parameter format.
Hello,
I'm working on a Rest API using java 7 and Spring. I have a Swagger documentation using library swagger-jersey2-jaxrs to generate my swagger.json. To display it, i'm using Swagger-ui from the dist repository (https://github.com/swagger-api/swagger-ui/tree/master/dist).
My problem is that when i display my Swagger documentation, the query param example isn't and i dont know why. If i try with an "official" json (https://petstore.swagger.io/v2/swagger.json) it is not displayed too.
I have the same behaviour for the query parameter format.
From the https://petstore.swagger.io/ website i have this result (the good one) :
And from the swagger-ui from the dist repository
Some one know how i can display my query param example and format ? Is that behaviour a normal thing ?
Thank's for your help