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.18.0
- Published
- Dec 6, 2018
- Platform
- windows/amd64
- Imports
- 9 packages
- Last checked
- 2 minutes ago –
Tools for package owners.