Y
Hacker News
new
|
ask
|
show
|
jobs
by
moneywoes
743 days ago
how can i auto generate api code with this
1 comments
kitd
742 days ago
You would use OpenAPI (formerly Swagger) [1] for that, which includes JSONSchema for data types but also adds specs for defining REST apis. There are plenty of generators and other tools that work with OpenAPI [2]
[1]
https://www.openapis.org/
[2]
https://openapi-generator.tech/
link
[1] https://www.openapis.org/
[2] https://openapi-generator.tech/