grafana/pkg/api/openapi3.go
lean.dev e8e7b59bb0
Implementing OpenApi 3 specs (converted from Swagger 2) (#53243)
* Adding OpenApi target to makefile, to covert swagger spec into OpenAPI 3
* Adding endpoint to server swaggerui with new openapi3 specs
* Passing output file as parameter for OpenApi3 specs
* Implement workaround for missing host and prefix domain
2022-08-04 13:51:12 -03:00

12 lines
159 B
Go

package api
import (
"net/http"
"github.com/grafana/grafana/pkg/models"
)
func openapi3(c *models.ReqContext) {
c.HTML(http.StatusOK, "openapi3", nil)
}