fix: fix go-client generation

This commit is contained in:
Ruben Fiszel
2023-06-04 15:13:07 +02:00
parent 21cc076cd3
commit eea5ad5203
3 changed files with 3 additions and 26 deletions
+3 -1
View File
@@ -117,7 +117,9 @@ func SetState(state interface{}) error {
if err != nil {
return err
}
res, err := client.Client.CreateResourceWithResponse(context.Background(), client.Workspace, api.CreateResource{Value: &state})
res, err := client.Client.CreateResourceWithResponse(context.Background(), client.Workspace, &api.CreateResourceParams{
UpdateIfExists: newBool(true),
}, api.CreateResource{Value: &state})
if err != nil {
return err
}
-2
View File
@@ -1,3 +1 @@
openapi-deref.yaml
dist/
windmill-api/
-23
View File
@@ -1,23 +0,0 @@
__pycache__/
build/
dist/
*.egg-info/
.pytest_cache/
# pyenv
.python-version
# Environments
.env
.venv
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# JetBrains
.idea/
/coverage.xml
/.coverage