func NewAPI(t gotest.TB) (*loads.Document, *untyped.API)
NewAPI registers a stub api for the pet store
func NewRootAPI(t gotest.TB) (*loads.Document, *untyped.API)
NewRootAPI registers a stub api for the pet store
Pet the pet model
type Pet struct { ID int64 Name string PhotoURLs []string Status string Tags []Tag }
Tag the tag model
type Tag struct { ID int64 Name string }