Josh Hunt
759aa12d2b
Revert "Build swagger ui in seperate webpack build" ( #104580 )
...
Revert "Build swagger ui in seperate webpack build (#102046 )"
This reverts commit 314e337d76 .
2025-04-25 22:07:43 +01:00
Josh Hunt
314e337d76
Build swagger ui in seperate webpack build ( #102046 )
...
* Build swagger ui in seperate webpack build
* render grafana and swagger
* include light theme
* merge main
* update webassets usage
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-04-25 14:22:57 +01:00
Mariell Hoversholm
757be6365a
CI: Bump golangci-lint to 2.0.2 ( #103572 )
2025-04-10 14:42:23 +02:00
Ryan McKinley
427dad26a2
Swagger: Add a custom swagger/api page ( #91785 )
...
Co-authored-by: Kristian Bremberg <kristian.bremberg@grafana.com >
2024-08-14 09:03:00 +03:00
Ryan McKinley
b8e8d84ef7
Swagger: Show k8s APIs ( #78091 )
2023-11-15 06:42:35 -08:00
Ryan McKinley
025b2f3011
Chore: use any rather than interface{} ( #74066 )
2023-08-30 18:46:47 +03:00
Kristian Bremberg
9b4dde7430
Modify Content-Security-Policy for Swagger UI ( #63568 )
...
* Modify Content-Security-Policy for Swagger UI
* check if CSP is empty
Co-authored-by: João Calisto <joao.calisto@grafana.com >
* check if CSP is empty in swagger.go
---------
Co-authored-by: João Calisto <joao.calisto@grafana.com >
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com >
2023-08-01 11:27:44 +03:00
idafurjes
6c5a573772
Chore: Move ReqContext to contexthandler service ( #62102 )
...
* Chore: Move ReqContext to contexthandler service
* Rename package to contextmodel
* Generate ngalert files
* Remove unused imports
2023-01-27 08:50:36 +01:00
ying-jeanne
7ddae870e7
fix status code 200 ( #47818 )
2022-04-15 08:01:58 -04:00
Sofia Papagiannaki
35fe58de37
API: Extract OpenAPI specification from source code using go-swagger ( #40528 )
...
* API: Using go-swagger for extracting OpenAPI specification from source code
* Merge Grafana Alerting spec
* Include enterprise endpoints (if enabled)
* Serve SwaggerUI under feature flag
* Fix building dev docker images
* Configure swaggerUI
* Add missing json tags
Co-authored-by: Ying WANG <ying.wang@grafana.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2022-02-08 13:38:43 +01:00