Skip to content

Commit

Permalink
change response */* to application/json (#126)
Browse files Browse the repository at this point in the history
Co-authored-by: Dean Oren <deangili.oren@mail.schwarz>
  • Loading branch information
do87 and Dean Oren committed Feb 10, 2023
1 parent c8b5ab1 commit 9c06cf1
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 6 deletions.
27 changes: 27 additions & 0 deletions pkg/services/mongodb-flex/v1.0/generated/flavors/flavors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions pkg/services/mongodb-flex/v1.0/generated/instance/instance.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions pkg/services/mongodb-flex/v1.0/mongodbflex.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"200": {
"description": "OK",
"content": {
"*/*": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/infra.GetFlavorsResponse"
}
Expand All @@ -61,7 +61,7 @@
"400": {
"description": "Bad Request",
"content": {
"*/*": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/instance.Error"
}
Expand All @@ -71,7 +71,7 @@
"500": {
"description": "Internal Server Error",
"content": {
"*/*": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/instance.Error"
}
Expand Down Expand Up @@ -479,7 +479,7 @@
"400": {
"description": "Bad Request",
"content": {
"*/*": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/instance.Error"
}
Expand All @@ -489,7 +489,7 @@
"404": {
"description": "Not Found",
"content": {
"*/*": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/instance.Error"
}
Expand All @@ -499,7 +499,7 @@
"500": {
"description": "Internal Server Error",
"content": {
"*/*": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/instance.Error"
}
Expand Down
1 change: 1 addition & 0 deletions pkg/services/mongodb-flex/v1.0/notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# changes in OpenAPI config

- add flavors and versions tags
- change */* to application/json

0 comments on commit 9c06cf1

Please sign in to comment.