Skip to content

Commit

Permalink
api: docs: move VolumeListResponse to definitions (v1.39-v1.41)
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Apr 21, 2022
1 parent cd635e4 commit 54386f0
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 54 deletions.
38 changes: 20 additions & 18 deletions docs/api/v1.39.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1982,6 +1982,25 @@ definitions:
com.example.some-label: "some-value"
com.example.some-other-label: "some-other-value"

VolumeListResponse:
type: "object"
title: "VolumeListResponse"
x-go-name: "VolumeListOKBody"
description: "Volume list response"
properties:
Volumes:
type: "array"
description: "List of volumes"
items:
$ref: "#/definitions/Volume"
Warnings:
type: "array"
description: |
Warnings that occurred when fetching the list of volumes.
items:
type: "string"
example: []

Network:
type: "object"
properties:
Expand Down Expand Up @@ -8570,24 +8589,7 @@ paths:
200:
description: "Summary volume data that matches the query"
schema:
type: "object"
title: "VolumeListResponse"
description: "Volume list response"
required: [Volumes, Warnings]
properties:
Volumes:
type: "array"
x-nullable: false
description: "List of volumes"
items:
$ref: "#/definitions/Volume"
Warnings:
type: "array"
x-nullable: false
description: |
Warnings that occurred when fetching the list of volumes.
items:
type: "string"
$ref: "#/definitions/VolumeListResponse"
500:
description: "Server error"
schema:
Expand Down
38 changes: 20 additions & 18 deletions docs/api/v1.40.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2043,6 +2043,25 @@ definitions:
com.example.some-label: "some-value"
com.example.some-other-label: "some-other-value"

VolumeListResponse:
type: "object"
title: "VolumeListResponse"
x-go-name: "VolumeListOKBody"
description: "Volume list response"
properties:
Volumes:
type: "array"
description: "List of volumes"
items:
$ref: "#/definitions/Volume"
Warnings:
type: "array"
description: |
Warnings that occurred when fetching the list of volumes.
items:
type: "string"
example: []

Network:
type: "object"
properties:
Expand Down Expand Up @@ -8903,24 +8922,7 @@ paths:
200:
description: "Summary volume data that matches the query"
schema:
type: "object"
title: "VolumeListResponse"
description: "Volume list response"
required: [Volumes, Warnings]
properties:
Volumes:
type: "array"
x-nullable: false
description: "List of volumes"
items:
$ref: "#/definitions/Volume"
Warnings:
type: "array"
x-nullable: false
description: |
Warnings that occurred when fetching the list of volumes.
items:
type: "string"
$ref: "#/definitions/VolumeListResponse"
500:
description: "Server error"
schema:
Expand Down
38 changes: 20 additions & 18 deletions docs/api/v1.41.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2075,6 +2075,25 @@ definitions:
com.example.some-label: "some-value"
com.example.some-other-label: "some-other-value"

VolumeListResponse:
type: "object"
title: "VolumeListResponse"
x-go-name: "VolumeListOKBody"
description: "Volume list response"
properties:
Volumes:
type: "array"
description: "List of volumes"
items:
$ref: "#/definitions/Volume"
Warnings:
type: "array"
description: |
Warnings that occurred when fetching the list of volumes.
items:
type: "string"
example: []

Network:
type: "object"
properties:
Expand Down Expand Up @@ -9086,24 +9105,7 @@ paths:
200:
description: "Summary volume data that matches the query"
schema:
type: "object"
title: "VolumeListResponse"
description: "Volume list response"
required: [Volumes, Warnings]
properties:
Volumes:
type: "array"
x-nullable: false
description: "List of volumes"
items:
$ref: "#/definitions/Volume"
Warnings:
type: "array"
x-nullable: false
description: |
Warnings that occurred when fetching the list of volumes.
items:
type: "string"
$ref: "#/definitions/VolumeListResponse"
500:
description: "Server error"
schema:
Expand Down

0 comments on commit 54386f0

Please sign in to comment.