feat: invokable scripts (#387)

* basic list, create, and invoke working

* all commands working

* added support for create script body from file and invoke params from file

* linter cleanup

* update defaults to existing parameters if not provided

* updated generated mock files, added mock files for scripts, added basic script create test

* added mock script list

* cleanup pass, fixed not using params in list call

* added update mock test

* fixed mock tests requiring go 1.18

* updated openapi, integrated overrides upstream, added new override to fix codegen bug

* added nil check

* fixed routes
This commit is contained in:
Andrew Depke
2022-06-22 14:08:55 -06:00
committed by GitHub
parent a68106ee88
commit 760f07ed9e
31 changed files with 3207 additions and 337 deletions

View File

@ -64,6 +64,8 @@ type APIClient struct {
HealthApi HealthApi
InvokableScriptsApi InvokableScriptsApi
LegacyAuthorizationsApi LegacyAuthorizationsApi
LegacyQueryApi LegacyQueryApi
@ -128,6 +130,7 @@ func NewAPIClient(cfg *Configuration) *APIClient {
c.DashboardsApi = (*DashboardsApiService)(&c.common)
c.DeleteApi = (*DeleteApiService)(&c.common)
c.HealthApi = (*HealthApiService)(&c.common)
c.InvokableScriptsApi = (*InvokableScriptsApiService)(&c.common)
c.LegacyAuthorizationsApi = (*LegacyAuthorizationsApiService)(&c.common)
c.LegacyQueryApi = (*LegacyQueryApiService)(&c.common)
c.LegacyWriteApi = (*LegacyWriteApiService)(&c.common)