Browse Source

API: Change type of RemotrAddrs to array of strings in operation SwarmJoin

Signed-off-by: Dominic Tubach <dominic.tubach@to.com>
Dominic Tubach 6 năm trước cách đây
mục cha
commit
d5f6bdb027
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      api/swagger.yaml

+ 3 - 1
api/swagger.yaml

@@ -9119,7 +9119,9 @@ paths:
                 type: "string"
               RemoteAddrs:
                 description: "Addresses of manager nodes already participating in the swarm."
-                type: "string"
+                type: "array"
+                items:
+                  type: "string"
               JoinToken:
                 description: "Secret token for joining this swarm."
                 type: "string"