4 ms·
Is there a schema definition available for this API or you are supposed to figure it out by looking at actual replies and hope it doesn't change? Is there even
by magnat 8y ago
Is there a schema definition available for this API or you are supposed to figure it out by looking at actual replies and hope it doesn't change?
Is there even an equvalent of XSD but for JSON?
- growse 8y agoLike http://json-schema.org/ http://json-schema.org/, or https://swagger.io/specification/ https://swagger.io/specification/ ? Doesn't look like there's any schema or spec in the repo.
- oneweekwonder 8y agoExample of using json-schema will be json-editor[0] and for swagger(openapi) the online specification editor[1]. You can also generate client and server code from your swagger spec for multiple languages. The generated code a bit crude. But you can tweak swagger-code-gen to fit your needs. [0]: https://json-editor.github.io/json-editor/ https://json-editor.github.io/json-editor/ [1]: https://editor.swagger.io/ https://editor.swagger.io/
- ambicapter 8y agohttps://github.com/r-spacex/SpaceX-API/blob/master/docs/home.md https://github.com/r-spacex/SpaceX-API/blob/master/docs/home... At the bottom, "Endpoints".