Back to Listing

Swagger Documentation Generation

It would be useful for client integrations if the API automatically generated Swagger documentation for each table.

Currently the API returns Directus specific schema at /api/1.1/tables/{table-name}, however, in order to increase interoperability, a common markup should be used. Perhaps an additional endpoint such as /api/1.1/tables/{table-name}/_swagger.

Furthermore, it would be nice to have in app swagger documentation for all the static endpoints as well.