Use explicit object names for improved swagger based code generation

Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
This commit is contained in:
Tobias Gesellchen 2021-07-11 22:50:07 +02:00
parent 9275268110
commit 52a9f1689a

View file

@ -4366,7 +4366,6 @@ definitions:
type: "string" type: "string"
example: "2020-06-22T15:49:27.000000000+00:00" example: "2020-06-22T15:49:27.000000000+00:00"
SystemInfo: SystemInfo:
type: "object" type: "object"
properties: properties:
@ -8545,6 +8544,7 @@ paths:
description: "Exec configuration" description: "Exec configuration"
schema: schema:
type: "object" type: "object"
title: "ExecConfig"
properties: properties:
AttachStdin: AttachStdin:
type: "boolean" type: "boolean"
@ -8635,6 +8635,7 @@ paths:
in: "body" in: "body"
schema: schema:
type: "object" type: "object"
title: "ExecStartConfig"
properties: properties:
Detach: Detach:
type: "boolean" type: "boolean"
@ -9169,6 +9170,7 @@ paths:
required: true required: true
schema: schema:
type: "object" type: "object"
title: "NetworkCreateRequest"
required: ["Name"] required: ["Name"]
properties: properties:
Name: Name:
@ -9279,6 +9281,7 @@ paths:
required: true required: true
schema: schema:
type: "object" type: "object"
title: "NetworkConnectRequest"
properties: properties:
Container: Container:
type: "string" type: "string"
@ -9325,6 +9328,7 @@ paths:
required: true required: true
schema: schema:
type: "object" type: "object"
title: "NetworkDisconnectRequest"
properties: properties:
Container: Container:
type: "string" type: "string"
@ -9984,6 +9988,7 @@ paths:
required: true required: true
schema: schema:
type: "object" type: "object"
title: "SwarmInitRequest"
properties: properties:
ListenAddr: ListenAddr:
description: | description: |
@ -10082,6 +10087,7 @@ paths:
required: true required: true
schema: schema:
type: "object" type: "object"
title: "SwarmJoinRequest"
properties: properties:
ListenAddr: ListenAddr:
description: | description: |
@ -10242,6 +10248,7 @@ paths:
required: true required: true
schema: schema:
type: "object" type: "object"
title: "SwarmUnlockRequest"
properties: properties:
UnlockKey: UnlockKey:
description: "The swarm's unlock key." description: "The swarm's unlock key."