瀏覽代碼

Fix API docs for GET /secrets/{id}, GET /secrets

The swagger.yml defined these endpoints to return
a "ServiceSpec" instead of a "SecretSpec".

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 8 年之前
父節點
當前提交
f6954bea9f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/swagger.yaml

+ 1 - 1
api/swagger.yaml

@@ -2779,7 +2779,7 @@ definitions:
         type: "string"
         format: "dateTime"
       Spec:
-        $ref: "#/definitions/ServiceSpec"
+        $ref: "#/definitions/SecretSpec"
 paths:
   /containers/json:
     get: