forked from loafle/openapi-generator-original
update docstring in go client, better code format (#19268)
* update docstring in go client, better code format * update samples
This commit is contained in:
@@ -108,7 +108,6 @@ func (o *Pet) SetName(v string) {
|
||||
o.Name = v
|
||||
}
|
||||
|
||||
|
||||
// GetCategory returns the Category field value if set, zero value otherwise.
|
||||
func (o *Pet) GetCategory() Category {
|
||||
if o == nil || IsNil(o.Category) {
|
||||
@@ -165,7 +164,6 @@ func (o *Pet) SetPhotoUrls(v []string) {
|
||||
o.PhotoUrls = v
|
||||
}
|
||||
|
||||
|
||||
// GetTags returns the Tags field value if set, zero value otherwise.
|
||||
func (o *Pet) GetTags() []Tag {
|
||||
if o == nil || IsNil(o.Tags) {
|
||||
|
||||
Reference in New Issue
Block a user