Adjust swagger definitions
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
9152e63290
commit
87ebfa11f6
1 changed files with 22 additions and 0 deletions
|
@ -6764,6 +6764,28 @@ paths:
|
|||
schema:
|
||||
type: "object"
|
||||
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:
|
||||
type: "string"
|
||||
ApiVersion:
|
||||
|
|
Loading…
Add table
Reference in a new issue