Skip to content

Commit

Permalink
Revert Getversion method from put to get (#116)
Browse files Browse the repository at this point in the history
* Revert Getversion method from put to get

Signed-off-by: Yuvraj <[email protected]>

* Added version in api url

Signed-off-by: Yuvraj <[email protected]>
  • Loading branch information
yindia authored Mar 15, 2021
1 parent 5b39ed0 commit cf9adfd
Show file tree
Hide file tree
Showing 18 changed files with 107 additions and 294 deletions.
2 changes: 1 addition & 1 deletion flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.cc

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

110 changes: 55 additions & 55 deletions flyteidl/gen/pb-go/flyteidl/service/admin.pb.go

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

12 changes: 2 additions & 10 deletions flyteidl/gen/pb-go/flyteidl/service/admin.pb.gw.go

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

48 changes: 17 additions & 31 deletions flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2262,6 +2262,23 @@
]
}
},
"/api/v1/version": {
"get": {
"description": "Retrieve the Version (including the Build information) for FlyteAdmin service",
"operationId": "GetVersion",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/adminGetVersionResponse"
}
}
},
"tags": [
"AdminService"
]
}
},
"/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}": {
"put": {
"description": "Update the customized resource attributes associated with a project, domain and workflow combination",
Expand Down Expand Up @@ -2744,33 +2761,6 @@
"AdminService"
]
}
},
"/api/version": {
"put": {
"description": "Retrieve the Version (including the Build information) for FlyteAdmin service",
"operationId": "GetVersion",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/adminGetVersionResponse"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/adminGetVersionRequest"
}
}
],
"tags": [
"AdminService"
]
}
}
},
"definitions": {
Expand Down Expand Up @@ -3393,10 +3383,6 @@
"default": "MINUTE",
"description": "Represents a frequency at which to run a schedule."
},
"adminGetVersionRequest": {
"type": "object",
"title": "Empty request for GetVersion"
},
"adminGetVersionResponse": {
"type": "object",
"properties": {
Expand Down
Loading

0 comments on commit cf9adfd

Please sign in to comment.