Home
Do you know the best way the best way to generate your entities from swagger?
  v6.0 Posted at 11/09/2018 4:30 AM by Tiago Araujo

To generate entities from a swagger rest definition a tool can automate this.

There are 3 ways:

  1. AutoR esthttps://github.com/Azure/aut orest
  2. NSwagStudiohttps://github.com/NSwag/NSwag/wiki/NSwagStudio
  3. Swagger Codegenhttp://swagger.io/swagger-codegen
nswagstudio-search.jpg
Figure: Bad example - only around 1, 000 results
github-nswag.jpg
Figure: Bad example - NSwag has not many "Watch" and "Star"
swagger-codegen-search.jpg
Figure: OK example - Around 40,000 results
github-swagger-codegen.jpg
Figure: Swagger-Codegen and Autorest are quite popular. Swagger-Codegen has more “Star” 
autorest-search.jpg
Figure: Good example - 130,000+ results
github-autorest.jpg
Figure: Swagger-Codegen and Autorest are quite popular. Autorest has more “Watch”

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments: