Skip to content

Commit

Permalink
Merge pull request #264 from banzaicloud/versions_fix
Browse files Browse the repository at this point in the history
fix return type for getVersions endpoint
  • Loading branch information
sancyx authored Aug 28, 2019
2 parents 88f4ec6 + 705bf03 commit 14bd129
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 104 deletions.
17 changes: 9 additions & 8 deletions api/openapi-spec/cloudinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,13 @@
},
"x-go-package": "github.com/banzaicloud/cloudinfo/pkg/cloudinfo"
},
"LocationVersionArray": {
"type": "array",
"items": {
"$ref": "#/definitions/LocationVersion"
},
"x-go-package": "github.com/banzaicloud/cloudinfo/internal/app/cloudinfo/api"
},
"ProductDetails": {
"description": "ProductDetails extended view of the virtual machine details",
"type": "object",
Expand Down Expand Up @@ -871,14 +878,8 @@
"VersionsResponse": {
"description": "VersionsResponse holds the list of available versions",
"type": "object",
"properties": {
"versions": {
"type": "array",
"items": {
"$ref": "#/definitions/LocationVersion"
},
"x-go-name": "Versions"
}
"items": {
"$ref": "#/definitions/LocationVersion"
},
"x-go-package": "github.com/banzaicloud/cloudinfo/internal/app/cloudinfo/api"
},
Expand Down
Loading

0 comments on commit 14bd129

Please sign in to comment.