API: Fix swagger specification (#50034)
* API: Fix swagger specification * Validate specification after generation
This commit is contained in:
@@ -113,7 +113,7 @@ import (
|
||||
// 401: unauthorisedError
|
||||
// 500: internalServerError
|
||||
|
||||
// swagger:parameters updateAnnotation patchAnnotation deleteAnnotation
|
||||
// swagger:parameters getAnnotation updateAnnotation patchAnnotation deleteAnnotation
|
||||
type AnnotationIDParam struct {
|
||||
// in:path
|
||||
// required:true
|
||||
|
||||
@@ -334,7 +334,6 @@ import (
|
||||
// 500: internalServerError
|
||||
|
||||
// swagger:parameters updateDatasourceByID deleteDatasourceByID getDatasourceByID datasourceProxyGETcalls datasourceProxyPOSTcalls datasourceProxyDELETEcalls
|
||||
// swagger:parameters enablePermissions disablePermissions getPermissions deletePermissions
|
||||
// swagger:parameters checkDatasourceHealthByID fetchDatasourceResourcesByID
|
||||
type DatasourceID struct {
|
||||
// in:path
|
||||
|
||||
Reference in New Issue
Block a user