For a consistent and convienient way to generate the API specs and clients, we can add a workflow that automatically generates the API specs and clients and pushes them to the repository. Automatic commits might be a bit intrusive to the development experience, so we can make this workflow optional and trigger it manually.
To trigger it manually, we might add a label to the PR that triggers the workflow. This way, we can keep the workflow optional and only trigger it when needed. Other ways to do this should be discussed/evaluated.
For a consistent and convienient way to generate the API specs and clients, we can add a workflow that automatically generates the API specs and clients and pushes them to the repository. Automatic commits might be a bit intrusive to the development experience, so we can make this workflow optional and trigger it manually.
We can bring some code back from here where I did everything automatically: https://github.com/ls1intum/Hephaestus/pull/15/commits/63091cd1fe6f7339ad33e12120cf7ca9acd77d55
To trigger it manually, we might add a label to the PR that triggers the workflow. This way, we can keep the workflow optional and only trigger it when needed. Other ways to do this should be discussed/evaluated.