API Documentation #186
Replies: 1 comment 2 replies
-
@FabrizioMoggio Here is how we did it in QoD: https://github.com/camaraproject/QualityOnDemand/pull/151/files Within the release before this change (v0.8.1) the "deleted" API documentation file is still there: https://github.com/camaraproject/QualityOnDemand/blob/release-0.8.1/documentation/API_documentation/QoD_API.md In the releases after the PR the documentation is now inline within the YAML and can be nicely read with tools like Swagger Editor and Redoc, e.g. now for v0.10.1: We have still some documentation within the API_documentation directory, like the QoSProfile_Mapping_Table.md which is referenced from the YAML file. Regarding https://github.com/camaraproject/Commonalities/blob/main/documentation/API-DocumentationTemplate.md: from my perspective not any more relevant, at least not completely. There is for example no need any more to list the Endpoints and Errors, as they are anyway in the YAML, we copied only the descriptions into the right places. Hope that helps a bit. |
Beta Was this translation helpful? Give feedback.
-
Considering the following PR:
#35
And the related Discussion/Issue:
#34
My understanding is that there is a new approach for the API documentation. Having all documented in the YAML file without producing a specific Api_documentatoin.md file.
I still have some doubts on:
How to manage the current .md files, for the APIs that already have an API_Documumentation.md file, what do we need to do? Do we continue to maintain and update it, we delete it and we include all the documentation in the current YAML or we delete it when a new YAML version is released?
I also have a doubt on what to include in the YAML as documentation. Is it still what it is defined in the documentation template as defined in the Wiki (Commonalities WG - CAMARA Project - Confluence)
https://github.com/camaraproject/Commonalities/blob/main/documentation/API-DocumentationTemplate.md
Beta Was this translation helpful? Give feedback.
All reactions