Y
Hacker News
new
|
ask
|
show
|
jobs
by
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/