Update engine field of code request to accept any engine value (#4731)

dev
Ramana Reddy 2024-02-08 01:05:12 +05:30 committed by GitHub
parent 36985345a9
commit e2527970cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ type Request struct {
ID string `yaml:"id,omitempty" json:"id,omitempty" jsonschema:"title=id of the request,description=ID is the optional ID of the Request"` ID string `yaml:"id,omitempty" json:"id,omitempty" jsonschema:"title=id of the request,description=ID is the optional ID of the Request"`
// description: | // description: |
// Engine type // Engine type
Engine []string `yaml:"engine,omitempty" jsonschema:"title=engine,description=Engine,enum=python,enum=powershell,enum=command"` Engine []string `yaml:"engine,omitempty" jsonschema:"title=engine,description=Engine"`
// description: | // description: |
// Engine Arguments // Engine Arguments
Args []string `yaml:"args,omitempty" jsonschema:"title=args,description=Args"` Args []string `yaml:"args,omitempty" jsonschema:"title=args,description=Args"`