Skip to content

Commit

Permalink
Merge pull request #8 from speakeasy-api/config_for_dev_containers
Browse files Browse the repository at this point in the history
feat: config for dev containers
  • Loading branch information
ryan-timothy-albert authored Sep 12, 2023
2 parents 7764fc4 + 34f3c99 commit f750d56
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,16 @@ type Management struct {

type Generation struct {
CommentFields map[string]bool `yaml:"comments,omitempty"`
DevContainers *DevContainers `yaml:"devContainers,omitempty"`
Fields map[string]any `yaml:",inline"`
}

type DevContainers struct {
Enabled bool `yaml:"enabled"`
// This can be a local path or a remote URL
SchemaPath bool `yaml:"schemaPath"`
}

type LanguageConfig struct {
Version string `yaml:"version"`
Cfg map[string]any `yaml:",inline"`
Expand Down

0 comments on commit f750d56

Please sign in to comment.