Audit and refine the API documentation #3598
Labels
🧭 project: thread
An issue used to track a project and its progress
🧱 stack: api
Related to the Django API
🧱 stack: documentation
Related to Sphinx documentation
Description
Summary
Audit and update the API documentation (both in terms of the rendered HTML and the OpenAPI spec) so that request parameters and responses are correctly and fully described.
Detailed description
The API documentation regarding the return fields, their types and the query parameters is not fully accurate. Some fields are set as nullable even though they are required and always have a value.
Improving the rendered documentation will help the API consumers, and improving the
openapi.yaml
file will make it possible to generate correct frontend types and fetch code.Documents
Milestones/Issues
🚧 WIP
Prior Art
The text was updated successfully, but these errors were encountered: