Currently, the frontend generates the API to the backend from an OpenAPI spec document that is manually maintained separately from the code. As a developer, I would like to have this spec automatically kept in sync with the backend code. (Note, we have specifically chosen NOT to follow a spec-first design for the backend in which the backend code would be generated from the spec).
Description
Currently, the frontend generates the API to the backend from an OpenAPI spec document that is manually maintained separately from the code. As a developer, I would like to have this spec automatically kept in sync with the backend code. (Note, we have specifically chosen NOT to follow a spec-first design for the backend in which the backend code would be generated from the spec).