Pārlūkot izejas kodu

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

Fix secret/{id} response example
Evan Hazlett 8 gadi atpakaļ
vecāks
revīzija
6e83ef6ad6
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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