-
-
Notifications
You must be signed in to change notification settings - Fork 782
Open
Labels
Description
Currently st2common/st2common/openapi.yaml.j2 needs to be updated manually when a change is made to the API. This makes the update process error prone and potentially the openapi schema may not match the actual API implementation (see: #3522, #3783).
I'm proposing to autogenerate the openapi.yaml.j2 from source.
It would actually be great if the CLI, API and API documentation all were generated from a single "source of truth" to avoid errors and inconsistencies in the future.