Просмотр исходного кода

Merge pull request #4670 from ntimo/task/fix-open-api-yml

Fixed OpenAPI docs to be spec compliant
Timo 3 лет назад
Родитель
Сommit
58fde558f7
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      data/web/api/openapi.yaml

+ 4 - 0
data/web/api/openapi.yaml

@@ -3953,6 +3953,8 @@ paths:
           in: query
           in: query
           name: tags
           name: tags
           required: false
           required: false
+          schema:
+            type: string
         - description: e.g. api-key-string
         - description: e.g. api-key-string
           example: api-key-string
           example: api-key-string
           in: header
           in: header
@@ -4512,6 +4514,8 @@ paths:
           in: query
           in: query
           name: tags
           name: tags
           required: false
           required: false
+          schema:
+            type: string
         - description: e.g. api-key-string
         - description: e.g. api-key-string
           example: api-key-string
           example: api-key-string
           in: header
           in: header