summaryrefslogtreecommitdiff
path: root/internal/api/client/suggestions
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/suggestions')
-rw-r--r--internal/api/client/suggestions/suggestions.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/api/client/suggestions/suggestions.go b/internal/api/client/suggestions/suggestions.go
index 1a63d900e..84e48e4db 100644
--- a/internal/api/client/suggestions/suggestions.go
+++ b/internal/api/client/suggestions/suggestions.go
@@ -65,10 +65,16 @@ func New(processor *processing.Processor) *Module {
// type: object
// maxItems: 0
// '401':
+// schema:
+// "$ref": "#/definitions/error"
// description: unauthorized
// '403':
+// schema:
+// "$ref": "#/definitions/error"
// description: forbidden
// '406':
+// schema:
+// "$ref": "#/definitions/error"
// description: not acceptable
func (m *Module) SuggestionsGETHandler(c *gin.Context) {
_, errWithCode := apiutil.TokenAuth(c,