mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 18:01:40 -06:00
e8e7b59bb0
* 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
12 lines
159 B
Go
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)
|
|
}
|