How to validate API in tests with Swagger?

前端 未结 4 1422
梦如初夏
梦如初夏 2020-12-19 01:56

I\'m trying to figure out the best way to have my API documentation be the source of truth and use it to validate the actual Java REST code ideally through integration testi

4条回答
  •  生来不讨喜
    2020-12-19 02:35

    If you're using the Spring Framework, I'd highly recommend checking out Spring RestDocs which allow you to generate

提交回复
热议问题