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