Hacker News new | ask | show | jobs
by thepratt 1042 days ago
Why would JSON Schema not work here? Both languages have libraries to emit/parse.
1 comments

Either that or OpenAPI Specification (which is in some ways a superset of JSON Schema). At a previous job, we had OpenAPI specs that were mostly just schemas with a few endpoints defined. The tools around generating OpenAPI clients are robust and mature.