restswaggercomparespring-restdocs

What is the benefit of using Spring REST Docs comparing to Swagger


Spring REST Docs was released recently and the documentation says:

This approach frees you from the limitations imposed by tools like Swagger

So, I wanted to ask when Spring REST Docs is preferable to use comparing to Swagger and which limitations it frees.


Solution

  • I just saw a presentation here that touches on your question among other topics:

    https://www.youtube.com/watch?v=k5ncCJBarRI&t=26m58s

    In any case, these are just a couple of points. The presenter does a much better job discussing it than I could.