fix: add yaml tags to models so we can unmarshal camelCase (#148)
This commit is contained in:
@ -16,7 +16,7 @@ import (
|
||||
|
||||
// TemplateSummaryDiffNotificationEndpointFields struct for TemplateSummaryDiffNotificationEndpointFields
|
||||
type TemplateSummaryDiffNotificationEndpointFields struct {
|
||||
Name string `json:"name"`
|
||||
Name string `json:"name" yaml:"name"`
|
||||
}
|
||||
|
||||
// NewTemplateSummaryDiffNotificationEndpointFields instantiates a new TemplateSummaryDiffNotificationEndpointFields object
|
||||
|
Reference in New Issue
Block a user