forked from loafle/openapi-generator-original
* [go] More idiomatic godoc comments * [go] Mark deprecated fields and functions * [go] Minor mustache readability/consistency fixes * [go] Mark deprecated operation parameters * [go] Deprecate a petstore component property for testing * [go] Apply deprecated godoc in Go servers also
20 lines
348 B
Go
20 lines
348 B
Go
package models
|
|
|
|
// Pet - A pet for sale in the pet store
|
|
type Pet struct {
|
|
|
|
Id int64 `json:"id,omitempty"`
|
|
|
|
Category Category `json:"category,omitempty"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
PhotoUrls []string `json:"photoUrls"`
|
|
|
|
Tags []Tag `json:"tags,omitempty"`
|
|
|
|
// pet status in the store
|
|
// Deprecated
|
|
Status string `json:"status,omitempty"`
|
|
}
|