ls1intum / Hephaestus

Hephaestus - A Generative AI Mentor for Agile Software Development
MIT License
7 stars 1 forks source link

Add workflow to generate API specs and clients with a manual trigger #72

Closed FelixTJDietrich closed 4 weeks ago

FelixTJDietrich commented 1 month ago

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.