fix: add yaml tags to models so we can unmarshal camelCase (#148)

This commit is contained in:
Daniel Moran
2021-06-28 10:18:41 -04:00
committed by GitHub
parent a1921e1e59
commit 7ea63d6a96
153 changed files with 1142 additions and 678 deletions

View File

@ -17,7 +17,7 @@ import (
// InlineResponse200 struct for InlineResponse200
type InlineResponse200 struct {
// True means that the influxdb instance has NOT had initial setup; false means that the database has been setup.
Allowed *bool `json:"allowed,omitempty"`
Allowed *bool `json:"allowed,omitempty" yaml:"allowed,omitempty"`
}
// NewInlineResponse200 instantiates a new InlineResponse200 object