Chore: Move ReqContext to contexthandler service (#62102)
* Chore: Move ReqContext to contexthandler service * Rename package to contextmodel * Generate ngalert files * Remove unused imports
This commit is contained in:
+2
-2
@@ -3,9 +3,9 @@ package api
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/grafana/grafana/pkg/models"
|
||||
contextmodel "github.com/grafana/grafana/pkg/services/contexthandler/model"
|
||||
)
|
||||
|
||||
func openapi3(c *models.ReqContext) {
|
||||
func openapi3(c *contextmodel.ReqContext) {
|
||||
c.HTML(http.StatusOK, "openapi3", nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user