For my use case I'd like the struct tags to be for YAML instead of JSON. I've tried 'applicaion/yaml' in the response type of the API spec had a look at the code and it doesn't seem this project supports that out of the box.
What I get
type Device struct {
Messages *[]Message `json:"messages,omitempty"`
}
What I want
type Device struct {
Messages *[]Message `yaml:"messages,omitempty"`
}
If this isn't already a feature, or on the road map I am happy to fork and give implementing this a crack. Just wanted to get a second pair of eyes to confirm.
For my use case I'd like the struct tags to be for YAML instead of JSON. I've tried 'applicaion/yaml' in the response type of the API spec had a look at the code and it doesn't seem this project supports that out of the box.
What I get
What I want
If this isn't already a feature, or on the road map I am happy to fork and give implementing this a crack. Just wanted to get a second pair of eyes to confirm.