3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
grafana/pkg/services/ngalert/api/tooling/swagger-codegen/templates
Julien Duchesne c9211fbd69
ngalert openapi: Use same basePath as rest of Grafana ()
* ngalert openapi: Use same `basePath` as rest of Grafana
Currently, there are two issues that prevent easily merging `ngalert` and grafana openapi specs:
- The basePath is different. `grafana` has `/api` and `ngalert` has `/api/v1`. I changed `ngalert` to use `/api`
- The `ngalert` endpoints have their basePath in the each operation path. The basePath should actually be omitted
---------

Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
2024-01-17 11:53:16 -05:00
..
controller-api.mustache ngalert openapi: Use same basePath as rest of Grafana () 2024-01-17 11:53:16 -05:00
partial_header.mustache Fix/ngalert generation () 2021-04-20 13:12:32 -04:00