# pets
serve pydantic_v2.BaseModel
service PetsService: create_pet, delete_pet, get_pet, list_my_pets, list_pets
service PetsService without its methods: TypeError
service StoreService: get_inventory
service StoreService without its methods: TypeError
build missing: AttributeError: 'object' object has no attribute 'get_inventory'
> GET /pets
  list_pets(limit=20, tags=None, kind=None, X_Request_Id=None, since=None, session=None)
< 200 application/json [{"id":1,"name":"Mimi","tag":"cat"},{"id":2,"name":"Rex","tag":null}]
> GET /pets?limit=1&tags=a&tags=b&kind=cat&since=2024-01-01T00:00:00Z
  list_pets(limit=1, tags=['a', 'b'], kind=<PetsGetQueryKindParameter.cat: 'cat'>, X_Request_Id=UUID('00000000-0000-0000-0000-000000000001'), since=datetime.datetime(2024, 1, 1, 0, 0, tzinfo=TzInfo(0)), session='a%20b')
< 200 application/json [{"id":1,"name":"Mimi","tag":"cat"}]
> GET /pets?limit=0
< 422 application/json [{"type": "greater_than_equal", "loc": ["query", "limit"]}]
> GET /pets?kind=bird
< 422 application/json [{"type": "enum", "loc": ["query", "kind"]}]
> GET /pets?limit=99
  list_pets(limit=99, tags=None, kind=None, X_Request_Id=None, since=None, session=None)
< 500 application/json {"code":1,"message":"Too many"}
> POST /pets
  create_pet(body=NewPet(name='Tom', tag=None))
< 201 application/json {"id":3,"name":"Tom","tag":null}
> POST /pets
< 422 application/json [{"type": "string_too_short", "loc": ["body", "name"]}, {"type": "missing", "loc": ["body", "tag"]}]
> GET /pets/mine
  list_my_pets()
< 200 application/json [{"id":1,"name":"Mimi","tag":null}]
> GET /pets/1
  get_pet(petId=1)
< 200 application/json {"id":1,"name":"Mimi","tag":"cat"}
> GET /pets/7
  get_pet(petId=7)
< 404 application/json {"code":404,"message":"Not found"}
> GET /pets/0
< 422 application/json [{"type": "greater_than_equal", "loc": ["path", "petId"]}]
> DELETE /pets/2
  delete_pet(petId=2)
< 204 - b''
> DELETE /pets/7
  delete_pet(petId=7)
< 404 application/json {"code":404,"message":"Gone"}
> GET /store/inventory
  get_inventory()
< 200 application/json {"available":2}
> GET /pets?limit=1&tags=a&tags=b&kind=cat&since=2024-01-01T00:00:00Z
  list_pets(limit=1, tags=['a', 'b'], kind=<PetsGetQueryKindParameter.cat: 'cat'>, X_Request_Id=UUID('00000000-0000-0000-0000-000000000001'), since=datetime.datetime(2024, 1, 1, 0, 0, tzinfo=TzInfo(0)), session=None)
< 200 application/json [{"id":1,"name":"Mimi","tag":"cat"}]
> GET /pets?limit=101
< 422 application/json [{"type": "less_than_equal", "loc": ["query", "limit"]}]
> GET /pets?limit=two
< 422 application/json [{"type": "int_parsing", "loc": ["query", "limit"]}]
> GET /pets?limit=1&limit=2
  list_pets(limit=2, tags=None, kind=None, X_Request_Id=None, since=None, session=None)
< 200 application/json [{"id":1,"name":"Mimi","tag":"cat"},{"id":2,"name":"Rex","tag":null}]
> GET /pets?since=2024-01-01T00:00:00
< 422 application/json [{"type": "timezone_aware", "loc": ["query", "since"]}]
> GET /pets
< 422 application/json [{"type": "uuid_parsing", "loc": ["header", "X-Request-Id"]}]
> GET /pets?tags=a+b&tags=c%20d
  list_pets(limit=20, tags=['a b', 'c d'], kind=None, X_Request_Id=None, since=None, session=None)
< 200 application/json [{"id":1,"name":"Mimi","tag":"cat"},{"id":2,"name":"Rex","tag":null}]
> POST /pets
< 422 application/json [{"type": "missing", "loc": ["body", "tag"]}]
> POST /pets
< 422 application/json [{"type": "missing", "loc": ["body", "name"]}]
> POST /pets
< 422 application/json [{"type": "string_type", "loc": ["body", "name"]}, {"type": "missing", "loc": ["body", "tag"]}]
> POST /pets
< 422 application/json [{"type": "json_invalid", "loc": ["body", 1]}]
> POST /pets
< 422 application/json [{"type": "model_attributes_type", "loc": ["body"]}]
> POST /pets
< 422 application/json [{"type": "missing", "loc": ["body"]}]
> GET /pets/one
< 422 application/json [{"type": "int_parsing", "loc": ["path", "petId"]}]
serve pydantic_v2.dataclass
service PetsService: create_pet, delete_pet, get_pet, list_my_pets, list_pets
service PetsService without its methods: TypeError
service StoreService: get_inventory
service StoreService without its methods: TypeError
build missing: AttributeError: 'object' object has no attribute 'get_inventory'
> GET /pets
  list_pets(limit=20, tags=None, kind=None, X_Request_Id=None, since=None, session=None)
< 200 application/json [{"id":1,"name":"Mimi","tag":"cat"},{"id":2,"name":"Rex","tag":null}]
> GET /pets?limit=1&tags=a&tags=b&kind=cat&since=2024-01-01T00:00:00Z
  list_pets(limit=1, tags=['a', 'b'], kind=<PetsGetQueryKindParameter.cat: 'cat'>, X_Request_Id=UUID('00000000-0000-0000-0000-000000000001'), since=datetime.datetime(2024, 1, 1, 0, 0, tzinfo=TzInfo(0)), session='a%20b')
< 200 application/json [{"id":1,"name":"Mimi","tag":"cat"}]
> GET /pets?limit=0
< 422 application/json [{"type": "greater_than_equal", "loc": ["query", "limit"]}]
> GET /pets?kind=bird
< 422 application/json [{"type": "enum", "loc": ["query", "kind"]}]
> GET /pets?limit=99
  list_pets(limit=99, tags=None, kind=None, X_Request_Id=None, since=None, session=None)
< 500 application/json {"code":1,"message":"Too many"}
> POST /pets
  create_pet(body=NewPet(name='Tom', tag=None))
< 201 application/json {"id":3,"name":"Tom","tag":null}
> POST /pets
< 422 application/json [{"type": "string_too_short", "loc": ["body", "name"]}, {"type": "missing", "loc": ["body", "tag"]}]
> GET /pets/mine
  list_my_pets()
< 200 application/json [{"id":1,"name":"Mimi","tag":null}]
> GET /pets/1
  get_pet(petId=1)
< 200 application/json {"id":1,"name":"Mimi","tag":"cat"}
> GET /pets/7
  get_pet(petId=7)
< 404 application/json {"code":404,"message":"Not found"}
> GET /pets/0
< 422 application/json [{"type": "greater_than_equal", "loc": ["path", "petId"]}]
> DELETE /pets/2
  delete_pet(petId=2)
< 204 - b''
> DELETE /pets/7
  delete_pet(petId=7)
< 404 application/json {"code":404,"message":"Gone"}
> GET /store/inventory
  get_inventory()
< 200 application/json {"available":2}
> GET /pets?limit=1&tags=a&tags=b&kind=cat&since=2024-01-01T00:00:00Z
  list_pets(limit=1, tags=['a', 'b'], kind=<PetsGetQueryKindParameter.cat: 'cat'>, X_Request_Id=UUID('00000000-0000-0000-0000-000000000001'), since=datetime.datetime(2024, 1, 1, 0, 0, tzinfo=TzInfo(0)), session=None)
< 200 application/json [{"id":1,"name":"Mimi","tag":"cat"}]
> GET /pets?limit=101
< 422 application/json [{"type": "less_than_equal", "loc": ["query", "limit"]}]
> GET /pets?limit=two
< 422 application/json [{"type": "int_parsing", "loc": ["query", "limit"]}]
> GET /pets?limit=1&limit=2
  list_pets(limit=2, tags=None, kind=None, X_Request_Id=None, since=None, session=None)
< 200 application/json [{"id":1,"name":"Mimi","tag":"cat"},{"id":2,"name":"Rex","tag":null}]
> GET /pets?since=2024-01-01T00:00:00
< 422 application/json [{"type": "timezone_aware", "loc": ["query", "since"]}]
> GET /pets
< 422 application/json [{"type": "uuid_parsing", "loc": ["header", "X-Request-Id"]}]
> GET /pets?tags=a+b&tags=c%20d
  list_pets(limit=20, tags=['a b', 'c d'], kind=None, X_Request_Id=None, since=None, session=None)
< 200 application/json [{"id":1,"name":"Mimi","tag":"cat"},{"id":2,"name":"Rex","tag":null}]
> POST /pets
< 422 application/json [{"type": "missing", "loc": ["body", "tag"]}]
> POST /pets
< 422 application/json [{"type": "missing", "loc": ["body", "name"]}]
> POST /pets
< 422 application/json [{"type": "string_type", "loc": ["body", "name"]}, {"type": "missing", "loc": ["body", "tag"]}]
> POST /pets
< 422 application/json [{"type": "json_invalid", "loc": ["body", 1]}]
> POST /pets
< 422 application/json [{"type": "dataclass_type", "loc": ["body"]}]
> POST /pets
< 422 application/json [{"type": "missing", "loc": ["body"]}]
> GET /pets/one
< 422 application/json [{"type": "int_parsing", "loc": ["path", "petId"]}]
