This repository hosts the static Swagger UI files for the Silah backend API documentation.
It serves the interactive API docs so that the frontend team and other developers can conveniently explore and understand the API endpoints.
The API documentation is accessible at:
- The
docs/
folder contains all the static files including the generatedswagger.json
. - These files are served as a static website, enabling the Swagger UI interface to load and display API docs.
- The source
swagger.json
is automatically generated from the Silah Backend repository and updated here using a GitHub Actions workflow. - Updates are pushed automatically to this repository whenever changes are made to the backend API.
Thanks to the automated workflow, manual updates are no longer required. The workflow:
- Listens for changes pushed to the
main
branch of the Silah Backend repository. - Builds the backend and generates the latest
swagger.json
. - Pushes the updated
swagger.json
to this repository automatically. - Deploys the updated documentation on GitHub Pages.
We do not need to manually regenerate or push the docs anymore. The process is fully automated.