Setting the Api Version with Swagger UI

后端 未结 3 912
醉酒成梦
醉酒成梦 2020-12-19 22:21

I have a REST API developed through the use of Jersey and we document the REST API through swagger-ui. Unfortunately, we did not start versioning the API from day 1. We are

3条回答
  •  隐瞒了意图╮
    2020-12-19 22:55

    You can add a Bootstrap servlet to set parameters for the Swagger config bean as described here -

    https://github.com/swagger-api/swagger-core/wiki/Swagger-Core-Jersey-2.X-Project-Setup-1.5

提交回复
热议问题