Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on OpenAPI Generator allows generation of API client libraries from OpenAPI Specs. Parent comment
You compose types representing your request and response shape. Those types validate the API request and it’s response, and also generate the OpenAPI.
Even slight drift between API spec, docs and actual behaviour is impossible in this setup, I couldn’t go back to working any other way!
There are no comments on this comment yet.
You compose types representing your request and response shape. Those types validate the API request and it’s response, and also generate the OpenAPI.
Even slight drift between API spec, docs and actual behaviour is impossible in this setup, I couldn’t go back to working any other way!