{"modulePath":"github.com/deepmap/oapi-codegen/examples","version":"v0.0.0-20231024124628-5d2cd609c455","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package models\n\nPackage models provides primitives to interact with the openapi HTTP API.\n\nCode generated by github.com/deepmap/oapi-codegen version v0.0.0-00010101000000-000000000000 DO NOT EDIT.\n\n## Types\n\n```go\ntype AddPetJSONRequestBody = NewPet\n```\nAddPetJSONRequestBody defines body for AddPet for application/json ContentType.\n\n```go\ntype Error struct {\n\t// Code Error code\n\tCode int32 `json:\"code\"`\n\n\t// Message Error message\n\tMessage string `json:\"message\"`\n}\n```\nError defines model for Error.\n\n```go\ntype FindPetsParams struct {\n\t// Tags tags to filter by\n\tTags *[]string `form:\"tags,omitempty\" json:\"tags,omitempty\"`\n\n\t// Limit maximum number of results to return\n\tLimit *int32 `form:\"limit,omitempty\" json:\"limit,omitempty\"`\n}\n```\nFindPetsParams defines parameters for FindPets.\n\n```go\ntype NewPet struct {\n\t// Name Name of the pet\n\tName string `json:\"name\"`\n\n\t// Tag Type of the pet\n\tTag *string `json:\"tag,omitempty\"`\n}\n```\nNewPet defines model for NewPet.\n\n```go\ntype Pet struct {\n\t// Id Unique id of the pet\n\tId int64 `json:\"id\"`\n\n\t// Name Name of the pet\n\tName string `json:\"name\"`\n\n\t// Tag Type of the pet\n\tTag *string `json:\"tag,omitempty\"`\n}\n```\nPet defines model for Pet.\n\n","path":"github.com/deepmap/oapi-codegen/examples/petstore-expanded/echo/api/models","name":"models","synopsis":"Package models provides primitives to interact with the openapi HTTP API.","isRedistributable":true}
