package simplepetstore
import "github.com/go-openapi/runtime/internal/testing/simplepetstore"
Index ¶
Functions ¶
func NewPetstore ¶
NewPetstore creates a new petstore api handler
Types ¶
type Pet ¶
type Pet struct { ID int64 `json:"id"` Name string `json:"name"` PhotoURLs []string `json:"photoUrls,omitempty"` Status string `json:"status,omitempty"` Tags []Tag `json:"tags,omitempty"` }
Pet the pet model
type Tag ¶
Tag the tag model
Source Files ¶
- Version
- v0.23.2
- Published
- Mar 4, 2022
- Platform
- darwin/amd64
- Imports
- 9 packages
- Last checked
- 5 minutes ago –
Tools for package owners.