3 ms·
I've built a tiny pet project [0] that uses JSON Schemas [1] extensively. Data is defined by the schema and it's used to build a static JSON API on GitHub Page
by beatcracker 6y ago
I've built a tiny pet project [0] that uses JSON Schemas [1] extensively.
Data is defined by the schema and it's used to build a static JSON API on GitHub Pages.
OpenAPI [2] definition for API reuses data schema and you can use OpenAPI Generator [3] to generate clients.
The site uses docsify [4] to display repo's README nicely.
[0] https://beatcracker.github.io/toptout/ https://beatcracker.github.io/toptout/
[1] https://json-schema.org/ https://json-schema.org/
[2] https://swagger.io/specification/ https://swagger.io/specification/
[3] https://github.com/OpenAPITools/openapi-generator https://github.com/OpenAPITools/openapi-generator
[4] https://docsify.js.org/ https://docsify.js.org/