Skip to content

Commit

Permalink
Merge pull request dask#59 from koyeb/create-pull-request/patch
Browse files Browse the repository at this point in the history
Changes by create-pull-request action
  • Loading branch information
nicoche authored Jul 5, 2022
2 parents 1fa4842 + 5324829 commit 27d7da3
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
5 changes: 5 additions & 0 deletions api/v1/koyeb/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1914,6 +1914,11 @@ paths:
type: string
type: array
style: form
- description: (Optional) A filter for name.
in: query
name: name
schema:
type: string
responses:
"200":
content:
Expand Down
8 changes: 8 additions & 0 deletions api/v1/koyeb/api_domains.go

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

6 changes: 4 additions & 2 deletions api/v1/koyeb/docs/DomainsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ Name | Type | Description | Notes

## ListDomains

> ListDomainsReply ListDomains(ctx).Limit(limit).Offset(offset).Types(types).Statuses(statuses).AppIds(appIds).Execute()
> ListDomainsReply ListDomains(ctx).Limit(limit).Offset(offset).Types(types).Statuses(statuses).AppIds(appIds).Name(name).Execute()


Expand All @@ -237,10 +237,11 @@ func main() {
types := []string{"Types_example"} // []string | (Optional) A filter for types. (optional)
statuses := []string{"Statuses_example"} // []string | (Optional) A filter for statuses. (optional)
appIds := []string{"Inner_example"} // []string | (Optional) A filter for apps. (optional)
name := "name_example" // string | (Optional) A filter for name. (optional)

configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.DomainsApi.ListDomains(context.Background()).Limit(limit).Offset(offset).Types(types).Statuses(statuses).AppIds(appIds).Execute()
resp, r, err := api_client.DomainsApi.ListDomains(context.Background()).Limit(limit).Offset(offset).Types(types).Statuses(statuses).AppIds(appIds).Name(name).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DomainsApi.ListDomains``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
Expand All @@ -266,6 +267,7 @@ Name | Type | Description | Notes
**types** | **[]string** | (Optional) A filter for types. |
**statuses** | **[]string** | (Optional) A filter for statuses. |
**appIds** | **[]string** | (Optional) A filter for apps. |
**name** | **string** | (Optional) A filter for name. |

### Return type

Expand Down
7 changes: 7 additions & 0 deletions api/v1/koyeb/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2056,6 +2056,13 @@
"type": "string"
},
"collectionFormat": "multi"
},
{
"name": "name",
"description": "(Optional) A filter for name.",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
Expand Down

0 comments on commit 27d7da3

Please sign in to comment.