Open sschuberth opened 5 months ago
I second this, would be helpful to see and inspect the API even without building the project.
Now as our initial Server UI is in the codebase, we would really need this for planning the way forward; access to the API spec via GitHub would be very beneficial, as not everyone in our team wants to always run the local setup just to be able to inspect the API.
@mnonnenmacher is there a way to prioritize this? This would be really convenient for front-end development still.
I thought the frontend devs would now always have the compose setup running anyway?
Mostly, yes, but as you know there are still issues with the Compose setup, and for quickly looking up something it'd be more convenient to have a public reference. But I just realized I could also just use Swagger from our staging deployment.
I have done some testing with https://github.com/PaloAltoNetworks/docusaurus-openapi-docs and it looks promising:
It currently fails for some endpoints due to invalid specs, but once #946 is merged I will look into adding this.
It would be convenient to have the Swagger UI available without building the project locally, so auto-publishing the latest Swagger UI e.g. to GitHub pages would be great. Maybe these projects could help: