Explorar o código

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 %!s(int64=8) %!d(string=hai) anos
pai
achega
f6954bea9f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: