View the spec in Swagger UI
When your InfraAudit server is running, open the interactive explorer in your browser:Download the raw spec
Download the OpenAPI JSON spec directly from the running server:docs/swagger.json in the backend repository (pratik-mahalle/infraudit-go).
Use with external tools
Regenerate the spec
If you’re running a self-hosted deployment and have made changes to handler annotations, regenerate the spec:docs/ are committed to source control and validated in CI.
Handler annotation format
Each Go handler includes swag annotations that the tool uses to generate the spec. Example:docs/README.md for the full annotation reference.