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:
@ -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)
|
||||
|
Reference in New Issue
Block a user