1// Package api provides primitives to interact with the openapi HTTP API.
2//
3// Code generated by github.com/deepmap/oapi-codegen version (devel) DO NOT EDIT.
4package api
5
6// Error defines model for Error.
7type Error struct {
8	// Error code
9	Code int32 `json:"code"`
10
11	// Error message
12	Message string `json:"message"`
13}
14
15// NewPet defines model for NewPet.
16type NewPet struct {
17	// Name of the pet
18	Name string `json:"name"`
19
20	// Type of the pet
21	Tag *string `json:"tag,omitempty"`
22}
23
24// Pet defines model for Pet.
25type Pet struct {
26	// Embedded struct due to allOf(#/components/schemas/NewPet)
27	NewPet `yaml:",inline"`
28	// Embedded fields due to inline allOf schema
29	// Unique id of the pet
30	Id int64 `json:"id"`
31}
32
33// FindPetsParams defines parameters for FindPets.
34type FindPetsParams struct {
35	// tags to filter by
36	Tags *[]string `json:"tags,omitempty"`
37
38	// maximum number of results to return
39	Limit *int32 `json:"limit,omitempty"`
40}
41
42// AddPetJSONBody defines parameters for AddPet.
43type AddPetJSONBody NewPet
44
45// AddPetJSONRequestBody defines body for AddPet for application/json ContentType.
46type AddPetJSONRequestBody AddPetJSONBody
47