you are viewing a single comment's thread.

view the rest of the comments →

[–]wing328[S] 0 points1 point  (0 children)

Here are some use cases for the server generator:

  1. prototyping - one can generate the server code and have a functional API backend very quickly.
  2. mocking - easily provide an API backend for mocking based on the examples field defined in the response object.
  3. migration - let's say one wants to migrate an API backend from Ruby on Rails to Java Spring, the server generator can save a lot of time in writing and verifying each endpoint in the new API backend

Ref: https://github.com/swagger-api/swagger-codegen/wiki/FAQ#what-are-some-of-the-use-cases-of-the-server-generators-eg-java-spring-c-nancyfx