Closed kostasgrevenitis closed 11 months ago
What about using OpenAPI as a standard for API documentation? The Datasheets backend is implemented in Python using Flask (I checked this repo: https://github.com/Advanced-Dataspaces-VTT/KITT4SME-Digital-Datasheets/tree/main/backend) You can either consider to generate the OpenAPI spec by exploiting python libs like flask-rest-api or flask-restful-swagger-3, or migrating the app to FastAPI, which automatically provides the OpenAPI spec we need (checkout for example PC API spec
With the OpenAPI spec we can speed up further integrations with the Datasheets backend (e.g., by automatically generating clients with openapi generator
OpenAPI documentation is added for backend REST API. Does not work with cluster as OpenAPI don't seem to like path based routing and we are migrating to subdomain routing, so no point resolving that issue as it becomes obsolete
The Datasheets API documentation has to be improved