Skip to content

Commit

Permalink
feat: auto-updated SDK (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Apr 24, 2024
1 parent d8302fa commit bbde883
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mockhttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@ var endpointResponseExamples = map[string]map[string]mockResponse{
// Mock client return the response as per API spec, except for the errors: 404 and 401 status codes are covered only.
// - 401 is returned when the string `invalidApiKey` is used as the API key;
// - 404 is returned if either of the following:
// - the string value `notFound` is used as the string argument, e.g. projectID
// - a negative int/float value is used as the int/float argument, e.g. database ID
// - the string value `notFound` is used as the string argument, e.g. projectID
// - a negative int/float value is used as the int/float argument, e.g. database ID
func NewMockHTTPClient() HTTPClient {
u, _ := url.Parse(baseURL)
return mockHTTPClient{
Expand Down
12 changes: 10 additions & 2 deletions openAPIDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -3547,10 +3547,14 @@
"description": "The status of the operation",
"type": "string",
"enum": [
"scheduling",
"running",
"finished",
"failed",
"scheduling"
"error",
"cancelling",
"cancelled",
"skipped"
]
},
"ProjectListItem": {
Expand Down Expand Up @@ -4229,7 +4233,8 @@
"max_active_endpoints",
"max_read_only_endpoints",
"max_allowed_ips",
"max_monitoring_retention_hours"
"max_monitoring_retention_hours",
"min_autosuspend_seconds"
],
"properties": {
"active_time": {
Expand Down Expand Up @@ -4264,6 +4269,9 @@
},
"max_monitoring_retention_hours": {
"type": "integer"
},
"min_autosuspend_seconds": {
"type": "integer"
}
}
}
Expand Down

0 comments on commit bbde883

Please sign in to comment.