Переглянути джерело

Merge pull request #33166 from thaJeztah/fix-secret-response-example

Fix secret/{id} response example
Evan Hazlett 8 роки тому
батько
коміт
6e83ef6ad6
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      api/swagger.yaml

+ 2 - 1
api/swagger.yaml

@@ -8242,7 +8242,8 @@ paths:
           description: "no error"
           schema:
             $ref: "#/definitions/Secret"
-            example:
+          examples:
+            application/json:
               ID: "ktnbjxoalbkvbvedmg1urrz8h"
               Version:
                 Index: 11