Updating swagger endpoint (#80008)

The user should navigate to /swagger-ui instead of /swagger
This commit is contained in:
Pangidoan Butar 2024-01-10 04:07:40 +08:00 committed by GitHub
parent 1d4419fbe4
commit 5589c0a8f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ Since version 8.4, HTTP API details are [specified](https://editor.swagger.io/?u
Starting from version 9.1, there is also a [OpenAPI v3 specification](https://editor.swagger.io/?url=https://raw.githubusercontent.com/grafana/grafana/main/public/openapi3.json) (generated by the v2 one).
Users can browser and try out both via the Swagger UI editor (served by the grafana server) by navigating to `/swagger`.
Users can browser and try out both via the Swagger UI editor (served by the grafana server) by navigating to `/swagger-ui`.
## Authenticating API requests