In progress
- generate all messages from
db/_collections/*/schema
- add formats like datetime, file, json, jsonschema
- get all api endpoints available to only users, we will would admin types for now.
- build openapi spec from the above definitions using go-swagger/ or other swagger gen or goa.design/goa
Each schema will be versioned, and schema is only available for a running app.
History of schema changes will not be available.
Instructions
-
start the app by running
make serve
-
add collections from the admin UI.
-
restart the server to rebuild client.
-
visit
/api/openapi
to see the go client -
next step WIP: adding services to return openapi schema instead of api design