From be93e50a581ee74d202e85c2f9610d2c78f4e496 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 11 Jul 2021 22:50:07 +0200 Subject: [PATCH] Use explicit object names for improved swagger based code generation Signed-off-by: Tobias Gesellchen Signed-off-by: Sebastiaan van Stijn --- docs/api/v1.40.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/api/v1.40.yaml b/docs/api/v1.40.yaml index 0bcc117de7..660e67d739 100644 --- a/docs/api/v1.40.yaml +++ b/docs/api/v1.40.yaml @@ -4213,7 +4213,6 @@ definitions: type: "string" example: "2020-06-22T15:49:27.000000000+00:00" - SystemInfo: type: "object" properties: @@ -8337,6 +8336,7 @@ paths: description: "Exec configuration" schema: type: "object" + title: "ExecConfig" properties: AttachStdin: type: "boolean" @@ -8427,6 +8427,7 @@ paths: in: "body" schema: type: "object" + title: "ExecStartConfig" properties: Detach: type: "boolean" @@ -8969,6 +8970,7 @@ paths: required: true schema: type: "object" + title: "NetworkCreateRequest" required: ["Name"] properties: Name: @@ -9079,6 +9081,7 @@ paths: required: true schema: type: "object" + title: "NetworkDisconnectRequest" properties: Container: type: "string" @@ -9125,6 +9128,7 @@ paths: required: true schema: type: "object" + title: "NetworkConnectRequest" properties: Container: type: "string" @@ -9784,6 +9788,7 @@ paths: required: true schema: type: "object" + title: "SwarmJoinRequest" properties: ListenAddr: description: | @@ -9882,6 +9887,7 @@ paths: required: true schema: type: "object" + title: "SwarmInitRequest" properties: ListenAddr: description: | @@ -10042,6 +10048,7 @@ paths: required: true schema: type: "object" + title: "SwarmUnlockRequest" properties: UnlockKey: description: "The swarm's unlock key."