API: Fix swagger specification (#50034)

* API: Fix swagger specification

* Validate specification after generation
This commit is contained in:
Sofia Papagiannaki
2022-06-02 10:49:52 +03:00
committed by GitHub
parent 1a50b0dbb7
commit 6112bd0c63
5 changed files with 43 additions and 26 deletions

View File

@ -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