I need to show the response example value with respect to each code in Swagger UI, I'm using Spring Boot + springfox-swagger2
Asked
Active
Viewed 895 times
-1
-
What version of springfox? – Dilip Krishnan Jan 28 '18 at 15:34
-
springfox.version - 2.6.0 and i have tried to refer the response samples like this :- @ApiResponse(code = 200, message = "Success", reference="../response.json#/userProfileManager/createUser/200'") – Ramzsay Jan 29 '18 at 05:08
1 Answers
0
It seems that the "reference" attribute is not been read by during the generation of the swagger file (see https://github.com/springfox/springfox/issues/1705)

jreb
- 16
- 1