Skip to content

Commit f3500c0

Browse files
committed
feat(api): add Dynamic field to Endpoint for generated state indication
1 parent e221ace commit f3500c0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/dbio/api/spec.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ type Endpoint struct {
316316
Description string `yaml:"description" json:"description,omitempty"`
317317
Docs string `yaml:"docs" json:"docs,omitempty"`
318318
Disabled bool `yaml:"disabled" json:"disabled"`
319+
Dynamic bool `yaml:"dynamic,omitempty" json:"dynamic,omitempty"` // is generated
319320
State StateMap `yaml:"state" json:"state"`
320321
Sync []string `yaml:"sync" json:"sync,omitempty"`
321322
Request Request `yaml:"request" json:"request"`

0 commit comments

Comments
 (0)