-
Notifications
You must be signed in to change notification settings - Fork 7
Tools: swagger codegen servers compared
swagger-codegen
offers backend (micro-)frameworks to serve your APIs. Which ones are best per programming language?
Swagger Codegen offers server stubs for eleven programming languages.
- C# (ASP.NET Core, NancyFx)
- C++ (Pistache, Restbed)
- Erlang
- Go
- Haskell
- Java (MSF4J, Spring, Undertow, JAX-RS: CDI, CXF, Inflector, RestEasy, Play Framework)
- PHP (Lumen, Slim, Silex, Symfony, Zend Expressive)
- Python (Flask)
- NodeJS (Connect)
- Ruby (Sinatra, Rails 5)
- Scala (Finch, Scalatra)
Read the
Node.js
server-stub generation instructions.
Swagger Codegen offers one Node.js (JavaScript
-based) micro-service framework: Connect from Sencha Labs
Read the
PHP Slim
,PHP Lumen
, andPHP Silex
server-stub generation instructions.
Swagger Codgen generates three of the top PHP microframeworks (as ranked by Slant):
Ranking | Recommendations | Framework |
---|---|---|
2 | 26 👍, 5 👎 | Slim |
3 | 9 👍, 6 👎 | Lumen |
4 | 8 👍, 2 👎 | Silex |
Read the
Ruby on Rails 5
andSinatra
server-stub generation instructions.
Swagger Codegen offers the top two Ruby frameworks per Slant's rankings:
Ranking | Recommendations | Framework |
---|---|---|
1 | 5 👍, 0 👎 | Ruby on Rails 5 |
2 | 2 👍, 0 👎 | Sinatra |
Server stub generator HOWTO gives instructions for generating a server stub.
This work is licensed under a Creative Commons Attribution 4.0 International License.
Graphic art by icons8.