Versions in this module Expand all Collapse all v0 v0.1.0 Apr 15, 2026 Changes in this version + func GetOpenAPISpecJSON() ([]byte, error) + type Cat struct + Breed *string + Color *string + ID *string + Name *string + Purrs *bool + func (s *Cat) ApplyDefaults() + type Dog struct + Barks *bool + Breed *string + Color *string + ID *string + Name *string + func (s *Dog) ApplyDefaults() + type GetPets200ResponseJSON1 = []GetPets200ResponseJSON2 + type GetPets200ResponseJSON2 struct + func (t *GetPets200ResponseJSON2) ApplyDefaults() + func (t *GetPets200ResponseJSON2) FromCat(v Cat) error + func (t *GetPets200ResponseJSON2) FromDog(v Dog) error + func (t *GetPets200ResponseJSON2) FromRat(v Rat) error + func (t *GetPets200ResponseJSON2) MergeCat(v Cat) error + func (t *GetPets200ResponseJSON2) MergeDog(v Dog) error + func (t *GetPets200ResponseJSON2) MergeRat(v Rat) error + func (t *GetPets200ResponseJSON2) UnmarshalJSON(b []byte) error + func (t GetPets200ResponseJSON2) AsCat() (Cat, error) + func (t GetPets200ResponseJSON2) AsDog() (Dog, error) + func (t GetPets200ResponseJSON2) AsRat() (Rat, error) + func (t GetPets200ResponseJSON2) MarshalJSON() ([]byte, error) + type GetPetsJSONResponse struct + Data []GetPets200ResponseJSON2 + func (s *GetPetsJSONResponse) ApplyDefaults() + type Rat struct + Color *string + ID *string + Name *string + Squeaks *bool + func (s *Rat) ApplyDefaults()