I want the ability to generate type definitions from openapi files. #1101
Closed
manabu0926
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, this rails-inspired framework is very exciting for rails developers.
Thank you very much for your development.
When I usually develop with react and rails, I define openapi files to guarantee the types of requests and responses, define the types, and verify them with tests.
rust also has utoipa, but I want to develop schema-first, not code-first.
Is it possible to add a function in loco to generate a structure or type file based on the openapi file?
If this can be done, I would be very happy to be able to develop rust resistant to schema changes and to develop schema-first!
Beta Was this translation helpful? Give feedback.
All reactions