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

package simplepetstore

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

Index

Package Files

api.go

func NewPetstore Uses

func NewPetstore() (http.Handler, error)

NewPetstore creates a new petstore api handler

type Pet Uses

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 Uses

type Tag struct {
    ID   int64
    Name string
}

Tag the tag model

Package simplepetstore imports 9 packages (graph). Updated 2016-09-01. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).