Procházet zdrojové kódy

Fix Healthcheck API doc

Signed-off-by: Manjunath A Kumatagi <mkumatag@in.ibm.com>
(cherry picked from commit 4df54695ef12fa0ba474b571771ed09232ad00ba)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Manjunath A Kumatagi před 8 roky
rodič
revize
62581bb11c
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      api/swagger.yaml

+ 4 - 4
api/swagger.yaml

@@ -486,10 +486,10 @@ definitions:
         description: |
         description: |
           The test to perform. Possible values are:
           The test to perform. Possible values are:
 
 
-          - `{}` inherit healthcheck from image or parent image
-          - `{"NONE"}` disable healthcheck
-          - `{"CMD", args...}` exec arguments directly
-          - `{"CMD-SHELL", command}` run command with system's default shell
+          - `[]` inherit healthcheck from image or parent image
+          - `["NONE"]` disable healthcheck
+          - `["CMD", args...]` exec arguments directly
+          - `["CMD-SHELL", command]` run command with system's default shell
         type: "array"
         type: "array"
         items:
         items:
           type: "string"
           type: "string"