Swagger UI Bundle Reference¶
This page documents how the static Swagger UI bundle is published in GitHub Pages.
Location¶
- Static bundle directory:
docs/swagger-ui/ - Entry file:
docs/swagger-ui/index.html - OpenAPI source URL used by UI:
../swagger/swagger.yaml(published as/swagger/swagger.yamlon GitHub Pages)
Files in the Bundle¶
| File | Purpose |
|---|---|
index.html |
Swagger UI entrypoint and runtime config |
swagger-ui-bundle.js |
Upstream Swagger UI JavaScript bundle |
swagger-ui.css |
Upstream Swagger UI styles |
custom.css |
Aion visual customization (dark palette, branding) |
Maintenance Workflow¶
- Regenerate/update OpenAPI contract (
swagger/swagger.yaml). - Validate interactive docs at
/swagger-ui/. - If Swagger UI assets are upgraded, retest authorization, execute button, and response rendering.
- Keep custom styles minimal and focused on branding/usability.
Quality Checklist¶
- OpenAPI URL resolves from GitHub Pages.
- Authorization persists when enabled.
- Endpoint groups are readable in dark mode.
- Try-it-out controls and response blocks remain accessible.