Browse code

move secret into swarm thing in swagger

Signed-off-by: allencloud <allen.sun@daocloud.io>
(cherry picked from commit 6918624985e4859e44404b06a01e86639dcaa900)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>

allencloud authored on 2017/03/09 16:31:10
Showing 1 changed files
... ...
@@ -118,8 +118,6 @@ tags:
118 118
       Run new commands inside running containers. See the [command-line reference](https://docs.docker.com/engine/reference/commandline/exec/) for more information.
119 119
 
120 120
       To exec a command in a container, you first need to create an exec instance, then start it. These two API endpoints are wrapped up in a single command-line command, `docker exec`.
121
-  - name: "Secret"
122
-    x-displayName: "Secrets"
123 121
   # Swarm things
124 122
   - name: "Swarm"
125 123
     x-displayName: "Swarm"
... ...
@@ -137,6 +135,10 @@ tags:
137 137
     x-displayName: "Tasks"
138 138
     description: |
139 139
       A task is a container running on a swarm. It is the atomic scheduling unit of swarm. Swarm mode must be enabled for these endpoints to work.
140
+  - name: "Secret"
141
+    x-displayName: "Secrets"
142
+    description: |
143
+      Secrets are sensitive data that can be used by services. Swarm mode must be enabled for these endpoints to work.
140 144
   # System things
141 145
   - name: "Plugin"
142 146
     x-displayName: "Plugins"