mirror of https://github.com/databricks/cli.git
Make top level workspace optional in JSON schema (#562)
## Tests Tested manually. `"workspace"` is no longer a required field in the generated JSON schema Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
This commit is contained in:
parent
057f328879
commit
47f4d30229
|
@ -36,7 +36,7 @@ type Root struct {
|
||||||
|
|
||||||
// Workspace contains details about the workspace to connect to
|
// Workspace contains details about the workspace to connect to
|
||||||
// and paths in the workspace tree to use for this bundle.
|
// and paths in the workspace tree to use for this bundle.
|
||||||
Workspace Workspace `json:"workspace"`
|
Workspace Workspace `json:"workspace,omitempty"`
|
||||||
|
|
||||||
// Artifacts contains a description of all code artifacts in this bundle.
|
// Artifacts contains a description of all code artifacts in this bundle.
|
||||||
Artifacts map[string]*Artifact `json:"artifacts,omitempty"`
|
Artifacts map[string]*Artifact `json:"artifacts,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue