Adjust swagger definitions
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
9152e63290
commit
87ebfa11f6
|
@ -6764,6 +6764,28 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: "object"
|
type: "object"
|
||||||
properties:
|
properties:
|
||||||
|
Platform:
|
||||||
|
type: "object"
|
||||||
|
required: [Name]
|
||||||
|
properties:
|
||||||
|
Name:
|
||||||
|
type: "string"
|
||||||
|
Components:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
type: "object"
|
||||||
|
x-go-name: ComponentVersion
|
||||||
|
required: [Name, Version]
|
||||||
|
properties:
|
||||||
|
Name:
|
||||||
|
type: "string"
|
||||||
|
Version:
|
||||||
|
type: "string"
|
||||||
|
x-nullable: false
|
||||||
|
Details:
|
||||||
|
type: "object"
|
||||||
|
x-nullable: true
|
||||||
|
|
||||||
Version:
|
Version:
|
||||||
type: "string"
|
type: "string"
|
||||||
ApiVersion:
|
ApiVersion:
|
||||||
|
|
Loading…
Reference in New Issue