runtime: github.com/go-openapi/runtime/internal/testing/petstore Index | Files

package petstore

import "github.com/go-openapi/runtime/internal/testing/petstore"

Index

Package Files

api.go

func NewAPI Uses

func NewAPI(t gotest.TB) (*loads.Document, *untyped.API)

NewAPI registers a stub api for the pet store

func NewRootAPI Uses

func NewRootAPI(t gotest.TB) (*loads.Document, *untyped.API)

NewRootAPI registers a stub api for the pet store

type Pet Uses

type Pet struct {
    ID        int64
    Name      string
    PhotoURLs []string
    Status    string
    Tags      []Tag
}

Pet the pet model

type Tag Uses

type Tag struct {
    ID   int64
    Name string
}

Tag the tag model

Package petstore imports 13 packages (graph). Updated 2017-11-29. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).