mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
35fe58de37
* 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>
8 lines
131 B
Go
8 lines
131 B
Go
package api
|
|
|
|
import "github.com/grafana/grafana/pkg/models"
|
|
|
|
func swaggerUI(c *models.ReqContext) {
|
|
c.HTML(200, "swagger", nil)
|
|
}
|