Replies: 5 comments
-
I think is awesome to have swagger support for this API documentation. Lets dig in on how to provide swagger support for this project. Feel free to open an issue for this. PD: @rafacouto , let's keep our GitHub content in english please. I think its important to be able to communicate with people who use different languages |
Beta Was this translation helpful? Give feedback.
-
It looks like this is not ready for production, but in any case it looks fine: https://github.com/wafflespeanut/paperclip |
Beta Was this translation helpful? Give feedback.
-
I want to explain tha swagger is a tool to define the API in the OpenAPI format (basically a yaml with the endpoint definitions). It is agnostic of languages but there are tools like swagger-codegen to generate server and client stubs. It is our decision to use in that way to generated the Hilow Rust API stub, but it is always useful to anyone implementing clients to consume Hilow API. Moreover, a pretty API documentation is generated using swagger-hub. |
Beta Was this translation helpful? Give feedback.
-
Following this and previous discussions, we want to generate a Swagger documentation from the Actix server automatically. A perfect example is HttpBin which makes use of Flasgger: Fastify in TypeScript-land achieves something similar through a Fastify's plugin: @morenol suggested https://github.com/wafflespeanut/paperclip as a possible solution for this. |
Beta Was this translation helpful? Give feedback.
-
In the Django world, drf-yasg also achieves that |
Beta Was this translation helpful? Give feedback.
-
Is Swagger a good idea to define, document and generated stubs to the Hilow API REST?
Beta Was this translation helpful? Give feedback.
All reactions