Documentation ¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- type APIKey
- type AnyOfTest
- type AnyOfTestSizeLimit
- func (s *AnyOfTestSizeLimit) Decode(d *jx.Decoder) error
- func (s AnyOfTestSizeLimit) Encode(e *jx.Encoder)
- func (s AnyOfTestSizeLimit) GetInt() (v int, ok bool)
- func (s AnyOfTestSizeLimit) GetString() (v string, ok bool)
- func (s AnyOfTestSizeLimit) IsInt() bool
- func (s AnyOfTestSizeLimit) IsString() bool
- func (s AnyOfTestSizeLimit) MarshalJSON() ([]byte, error)
- func (s *AnyOfTestSizeLimit) SetFake()
- func (s *AnyOfTestSizeLimit) SetInt(v int)
- func (s *AnyOfTestSizeLimit) SetString(v string)
- func (s *AnyOfTestSizeLimit) UnmarshalJSON(data []byte) error
- func (s AnyOfTestSizeLimit) Validate() error
- type AnyOfTestSizeLimitType
- type AnyTest
- type AnyTestAnyMap
- type ArrayTest
- type Client
- func (c *Client) DataGetFormat(ctx context.Context, params DataGetFormatParams) (res string, err error)
- func (c *Client) DefaultTest(ctx context.Context, request DefaultTest, params DefaultTestParams) (res int32, err error)
- func (c *Client) ErrorGet(ctx context.Context) (res ErrorStatusCode, err error)
- func (c *Client) FoobarGet(ctx context.Context, params FoobarGetParams) (res FoobarGetRes, err error)
- func (c *Client) FoobarPost(ctx context.Context, request OptPet) (res FoobarPostRes, err error)
- func (c *Client) FoobarPut(ctx context.Context) (res FoobarPutDefStatusCode, err error)
- func (c *Client) GetHeader(ctx context.Context, params GetHeaderParams) (res Hash, err error)
- func (c *Client) NullableDefaultResponse(ctx context.Context) (res NilIntStatusCode, err error)
- func (c *Client) OneofBug(ctx context.Context, request OneOfBugs) (res OneofBugOK, err error)
- func (c *Client) PatternRecursiveMapGet(ctx context.Context) (res PatternRecursiveMap, err error)
- func (c *Client) PetCreate(ctx context.Context, request OptPet) (res Pet, err error)
- func (c *Client) PetFriendsNamesByID(ctx context.Context, params PetFriendsNamesByIDParams) (res []string, err error)
- func (c *Client) PetGet(ctx context.Context, params PetGetParams) (res PetGetRes, err error)
- func (c *Client) PetGetAvatarByID(ctx context.Context, params PetGetAvatarByIDParams) (res PetGetAvatarByIDRes, err error)
- func (c *Client) PetGetAvatarByName(ctx context.Context, params PetGetAvatarByNameParams) (res PetGetAvatarByNameRes, err error)
- func (c *Client) PetGetByName(ctx context.Context, params PetGetByNameParams) (res Pet, err error)
- func (c *Client) PetNameByID(ctx context.Context, params PetNameByIDParams) (res string, err error)
- func (c *Client) PetUpdateNameAliasPost(ctx context.Context, request OptPetName) (res PetUpdateNameAliasPostDefStatusCode, err error)
- func (c *Client) PetUpdateNamePost(ctx context.Context, request OptString) (res PetUpdateNamePostDefStatusCode, err error)
- func (c *Client) PetUploadAvatarByID(ctx context.Context, request PetUploadAvatarByIDReq, ...) (res PetUploadAvatarByIDRes, err error)
- func (c *Client) RecursiveArrayGet(ctx context.Context) (res RecursiveArray, err error)
- func (c *Client) RecursiveMapGet(ctx context.Context) (res RecursiveMap, err error)
- func (c *Client) SecurityTest(ctx context.Context) (res string, err error)
- func (c *Client) StringIntMapGet(ctx context.Context) (res StringIntMap, err error)
- func (c *Client) TestFloatValidation(ctx context.Context, request TestFloatValidation) (res TestFloatValidationOK, err error)
- func (c *Client) TestObjectQueryParameter(ctx context.Context, params TestObjectQueryParameterParams) (res TestObjectQueryParameterOK, err error)
- type Data
- type DataDescription
- func (s *DataDescription) Decode(d *jx.Decoder) error
- func (s DataDescription) Encode(e *jx.Encoder)
- func (s DataDescription) GetDescriptionDetailed() (v DescriptionDetailed, ok bool)
- func (s DataDescription) GetDescriptionSimple() (v DescriptionSimple, ok bool)
- func (s DataDescription) IsDescriptionDetailed() bool
- func (s DataDescription) IsDescriptionSimple() bool
- func (s DataDescription) MarshalJSON() ([]byte, error)
- func (s *DataDescription) SetDescriptionDetailed(v DescriptionDetailed)
- func (s *DataDescription) SetDescriptionSimple(v DescriptionSimple)
- func (s *DataDescription) SetFake()
- func (s *DataDescription) UnmarshalJSON(data []byte) error
- type DataDescriptionType
- type DataGetFormatParams
- type DefaultTest
- type DefaultTestEnum
- type DefaultTestParams
- type DescriptionDetailed
- type DescriptionSimple
- type Error
- type ErrorHandler
- type ErrorStatusCode
- type FoobarGetParams
- type FoobarGetRes
- type FoobarPostRes
- type FoobarPutDef
- type FoobarPutDefStatusCode
- type GetHeaderParams
- type Handler
- type Hash
- type ID
- func (s *ID) Decode(d *jx.Decoder) error
- func (s ID) Encode(e *jx.Encoder)
- func (s ID) GetInt() (v int, ok bool)
- func (s ID) GetString() (v string, ok bool)
- func (s ID) IsInt() bool
- func (s ID) IsString() bool
- func (s ID) MarshalJSON() ([]byte, error)
- func (s *ID) SetFake()
- func (s *ID) SetInt(v int)
- func (s *ID) SetString(v string)
- func (s *ID) UnmarshalJSON(data []byte) error
- type IDType
- type Issue143
- func (s *Issue143) Decode(d *jx.Decoder) error
- func (s Issue143) Encode(e *jx.Encoder)
- func (s Issue143) GetIssue1430() (v Issue1430, ok bool)
- func (s Issue143) GetIssue1431() (v Issue1431, ok bool)
- func (s Issue143) GetIssue1432() (v Issue1432, ok bool)
- func (s Issue143) GetIssue1433() (v Issue1433, ok bool)
- func (s Issue143) IsIssue1430() bool
- func (s Issue143) IsIssue1431() bool
- func (s Issue143) IsIssue1432() bool
- func (s Issue143) IsIssue1433() bool
- func (s Issue143) MarshalJSON() ([]byte, error)
- func (s *Issue143) SetFake()
- func (s *Issue143) SetIssue1430(v Issue1430)
- func (s *Issue143) SetIssue1431(v Issue1431)
- func (s *Issue143) SetIssue1432(v Issue1432)
- func (s *Issue143) SetIssue1433(v Issue1433)
- func (s *Issue143) UnmarshalJSON(data []byte) error
- type Issue1430
- type Issue1431
- type Issue1432
- type Issue1433
- type Issue143Type
- type MapWithProperties
- func (s *MapWithProperties) Decode(d *jx.Decoder) error
- func (s MapWithProperties) Encode(e *jx.Encoder)
- func (s MapWithProperties) MarshalJSON() ([]byte, error)
- func (s *MapWithProperties) SetFake()
- func (s *MapWithProperties) UnmarshalJSON(data []byte) error
- func (s MapWithProperties) Validate() error
- type MapWithPropertiesAdditional
- func (s *MapWithPropertiesAdditional) Decode(d *jx.Decoder) error
- func (s MapWithPropertiesAdditional) Encode(e *jx.Encoder)
- func (s MapWithPropertiesAdditional) MarshalJSON() ([]byte, error)
- func (s *MapWithPropertiesAdditional) SetFake()
- func (s *MapWithPropertiesAdditional) UnmarshalJSON(data []byte) error
- type MapWithPropertiesInlinedSubMap
- func (s *MapWithPropertiesInlinedSubMap) Decode(d *jx.Decoder) error
- func (s MapWithPropertiesInlinedSubMap) Encode(e *jx.Encoder)
- func (s MapWithPropertiesInlinedSubMap) MarshalJSON() ([]byte, error)
- func (s *MapWithPropertiesInlinedSubMap) SetFake()
- func (s *MapWithPropertiesInlinedSubMap) UnmarshalJSON(data []byte) error
- type MaxPropertiesTest
- type NilInt
- func (o *NilInt) Decode(d *jx.Decoder) error
- func (o NilInt) Encode(e *jx.Encoder)
- func (o NilInt) Get() (v int, ok bool)
- func (o NilInt) IsNull() bool
- func (s NilInt) MarshalJSON() ([]byte, error)
- func (o NilInt) Or(d int) int
- func (s *NilInt) SetFake()
- func (o *NilInt) SetTo(v int)
- func (s *NilInt) UnmarshalJSON(data []byte) error
- type NilIntStatusCode
- type NilNullableEnumsBoth
- func (o *NilNullableEnumsBoth) Decode(d *jx.Decoder) error
- func (o NilNullableEnumsBoth) Encode(e *jx.Encoder)
- func (o NilNullableEnumsBoth) Get() (v NullableEnumsBoth, ok bool)
- func (o NilNullableEnumsBoth) IsNull() bool
- func (s NilNullableEnumsBoth) MarshalJSON() ([]byte, error)
- func (o NilNullableEnumsBoth) Or(d NullableEnumsBoth) NullableEnumsBoth
- func (s *NilNullableEnumsBoth) SetFake()
- func (o *NilNullableEnumsBoth) SetTo(v NullableEnumsBoth)
- func (s *NilNullableEnumsBoth) UnmarshalJSON(data []byte) error
- type NilNullableEnumsOnlyNullValue
- func (o *NilNullableEnumsOnlyNullValue) Decode(d *jx.Decoder) error
- func (o NilNullableEnumsOnlyNullValue) Encode(e *jx.Encoder)
- func (o NilNullableEnumsOnlyNullValue) Get() (v NullableEnumsOnlyNullValue, ok bool)
- func (o NilNullableEnumsOnlyNullValue) IsNull() bool
- func (s NilNullableEnumsOnlyNullValue) MarshalJSON() ([]byte, error)
- func (o NilNullableEnumsOnlyNullValue) Or(d NullableEnumsOnlyNullValue) NullableEnumsOnlyNullValue
- func (s *NilNullableEnumsOnlyNullValue) SetFake()
- func (o *NilNullableEnumsOnlyNullValue) SetTo(v NullableEnumsOnlyNullValue)
- func (s *NilNullableEnumsOnlyNullValue) UnmarshalJSON(data []byte) error
- type NilNullableEnumsOnlyNullable
- func (o *NilNullableEnumsOnlyNullable) Decode(d *jx.Decoder) error
- func (o NilNullableEnumsOnlyNullable) Encode(e *jx.Encoder)
- func (o NilNullableEnumsOnlyNullable) Get() (v NullableEnumsOnlyNullable, ok bool)
- func (o NilNullableEnumsOnlyNullable) IsNull() bool
- func (s NilNullableEnumsOnlyNullable) MarshalJSON() ([]byte, error)
- func (o NilNullableEnumsOnlyNullable) Or(d NullableEnumsOnlyNullable) NullableEnumsOnlyNullable
- func (s *NilNullableEnumsOnlyNullable) SetFake()
- func (o *NilNullableEnumsOnlyNullable) SetTo(v NullableEnumsOnlyNullable)
- func (s *NilNullableEnumsOnlyNullable) UnmarshalJSON(data []byte) error
- type NilString
- func (o *NilString) Decode(d *jx.Decoder) error
- func (o NilString) Encode(e *jx.Encoder)
- func (o NilString) Get() (v string, ok bool)
- func (o NilString) IsNull() bool
- func (s NilString) MarshalJSON() ([]byte, error)
- func (o NilString) Or(d string) string
- func (s *NilString) SetFake()
- func (o *NilString) SetTo(v string)
- func (s *NilString) UnmarshalJSON(data []byte) error
- type NotFound
- type NullValue
- type NullableEnums
- type NullableEnumsBoth
- func (s *NullableEnumsBoth) Decode(d *jx.Decoder) error
- func (s NullableEnumsBoth) Encode(e *jx.Encoder)
- func (s NullableEnumsBoth) MarshalJSON() ([]byte, error)
- func (s *NullableEnumsBoth) SetFake()
- func (s *NullableEnumsBoth) UnmarshalJSON(data []byte) error
- func (s NullableEnumsBoth) Validate() error
- type NullableEnumsOnlyNullValue
- func (s *NullableEnumsOnlyNullValue) Decode(d *jx.Decoder) error
- func (s NullableEnumsOnlyNullValue) Encode(e *jx.Encoder)
- func (s NullableEnumsOnlyNullValue) MarshalJSON() ([]byte, error)
- func (s *NullableEnumsOnlyNullValue) SetFake()
- func (s *NullableEnumsOnlyNullValue) UnmarshalJSON(data []byte) error
- func (s NullableEnumsOnlyNullValue) Validate() error
- type NullableEnumsOnlyNullable
- func (s *NullableEnumsOnlyNullable) Decode(d *jx.Decoder) error
- func (s NullableEnumsOnlyNullable) Encode(e *jx.Encoder)
- func (s NullableEnumsOnlyNullable) MarshalJSON() ([]byte, error)
- func (s *NullableEnumsOnlyNullable) SetFake()
- func (s *NullableEnumsOnlyNullable) UnmarshalJSON(data []byte) error
- func (s NullableEnumsOnlyNullable) Validate() error
- type OneOfBugs
- type OneOfMappingReference
- func (s *OneOfMappingReference) Decode(d *jx.Decoder) error
- func (s OneOfMappingReference) Encode(e *jx.Encoder)
- func (s OneOfMappingReference) GetOneOfMappingReferenceA() (v OneOfMappingReferenceA, ok bool)
- func (s OneOfMappingReference) GetOneOfMappingReferenceB() (v OneOfMappingReferenceB, ok bool)
- func (s OneOfMappingReference) IsOneOfMappingReferenceA() bool
- func (s OneOfMappingReference) IsOneOfMappingReferenceB() bool
- func (s OneOfMappingReference) MarshalJSON() ([]byte, error)
- func (s *OneOfMappingReference) SetFake()
- func (s *OneOfMappingReference) SetOneOfMappingReferenceA(v OneOfMappingReferenceA)
- func (s *OneOfMappingReference) SetOneOfMappingReferenceB(v OneOfMappingReferenceB)
- func (s *OneOfMappingReference) UnmarshalJSON(data []byte) error
- type OneOfMappingReferenceA
- type OneOfMappingReferenceB
- type OneOfMappingReferenceBData
- func (s *OneOfMappingReferenceBData) Decode(d *jx.Decoder) error
- func (s OneOfMappingReferenceBData) Encode(e *jx.Encoder)
- func (s OneOfMappingReferenceBData) MarshalJSON() ([]byte, error)
- func (s *OneOfMappingReferenceBData) SetFake()
- func (s *OneOfMappingReferenceBData) UnmarshalJSON(data []byte) error
- type OneOfMappingReferenceType
- type OneOfUUIDAndIntEnum
- func (s *OneOfUUIDAndIntEnum) Decode(d *jx.Decoder) error
- func (s OneOfUUIDAndIntEnum) Encode(e *jx.Encoder)
- func (s OneOfUUIDAndIntEnum) GetOneOfUUIDAndIntEnum1() (v OneOfUUIDAndIntEnum1, ok bool)
- func (s OneOfUUIDAndIntEnum) GetUUID() (v uuid.UUID, ok bool)
- func (s OneOfUUIDAndIntEnum) IsOneOfUUIDAndIntEnum1() bool
- func (s OneOfUUIDAndIntEnum) IsUUID() bool
- func (s OneOfUUIDAndIntEnum) MarshalJSON() ([]byte, error)
- func (s *OneOfUUIDAndIntEnum) SetFake()
- func (s *OneOfUUIDAndIntEnum) SetOneOfUUIDAndIntEnum1(v OneOfUUIDAndIntEnum1)
- func (s *OneOfUUIDAndIntEnum) SetUUID(v uuid.UUID)
- func (s *OneOfUUIDAndIntEnum) UnmarshalJSON(data []byte) error
- func (s OneOfUUIDAndIntEnum) Validate() error
- type OneOfUUIDAndIntEnum1
- func (s *OneOfUUIDAndIntEnum1) Decode(d *jx.Decoder) error
- func (s OneOfUUIDAndIntEnum1) Encode(e *jx.Encoder)
- func (s OneOfUUIDAndIntEnum1) MarshalJSON() ([]byte, error)
- func (s *OneOfUUIDAndIntEnum1) SetFake()
- func (s *OneOfUUIDAndIntEnum1) UnmarshalJSON(data []byte) error
- func (s OneOfUUIDAndIntEnum1) Validate() error
- type OneOfUUIDAndIntEnumType
- type OneVariantHasNoUniqueFields
- func (s *OneVariantHasNoUniqueFields) Decode(d *jx.Decoder) error
- func (s OneVariantHasNoUniqueFields) Encode(e *jx.Encoder)
- func (s OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields0() (v OneVariantHasNoUniqueFields0, ok bool)
- func (s OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields1() (v OneVariantHasNoUniqueFields1, ok bool)
- func (s OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields0() bool
- func (s OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields1() bool
- func (s OneVariantHasNoUniqueFields) MarshalJSON() ([]byte, error)
- func (s *OneVariantHasNoUniqueFields) SetFake()
- func (s *OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields0(v OneVariantHasNoUniqueFields0)
- func (s *OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields1(v OneVariantHasNoUniqueFields1)
- func (s *OneVariantHasNoUniqueFields) UnmarshalJSON(data []byte) error
- type OneVariantHasNoUniqueFields0
- func (s *OneVariantHasNoUniqueFields0) Decode(d *jx.Decoder) error
- func (s OneVariantHasNoUniqueFields0) Encode(e *jx.Encoder)
- func (s OneVariantHasNoUniqueFields0) MarshalJSON() ([]byte, error)
- func (s *OneVariantHasNoUniqueFields0) SetFake()
- func (s *OneVariantHasNoUniqueFields0) UnmarshalJSON(data []byte) error
- type OneVariantHasNoUniqueFields1
- func (s *OneVariantHasNoUniqueFields1) Decode(d *jx.Decoder) error
- func (s OneVariantHasNoUniqueFields1) Encode(e *jx.Encoder)
- func (s OneVariantHasNoUniqueFields1) MarshalJSON() ([]byte, error)
- func (s *OneVariantHasNoUniqueFields1) SetFake()
- func (s *OneVariantHasNoUniqueFields1) UnmarshalJSON(data []byte) error
- type OneVariantHasNoUniqueFieldsType
- type OneofBugOK
- type OptAnyOfTest
- func (o *OptAnyOfTest) Decode(d *jx.Decoder) error
- func (o OptAnyOfTest) Encode(e *jx.Encoder)
- func (o OptAnyOfTest) Get() (v AnyOfTest, ok bool)
- func (o OptAnyOfTest) IsSet() bool
- func (s OptAnyOfTest) MarshalJSON() ([]byte, error)
- func (o OptAnyOfTest) Or(d AnyOfTest) AnyOfTest
- func (o *OptAnyOfTest) Reset()
- func (s *OptAnyOfTest) SetFake()
- func (o *OptAnyOfTest) SetTo(v AnyOfTest)
- func (s *OptAnyOfTest) UnmarshalJSON(data []byte) error
- type OptAnyTest
- func (o *OptAnyTest) Decode(d *jx.Decoder) error
- func (o OptAnyTest) Encode(e *jx.Encoder)
- func (o OptAnyTest) Get() (v AnyTest, ok bool)
- func (o OptAnyTest) IsSet() bool
- func (s OptAnyTest) MarshalJSON() ([]byte, error)
- func (o OptAnyTest) Or(d AnyTest) AnyTest
- func (o *OptAnyTest) Reset()
- func (s *OptAnyTest) SetFake()
- func (o *OptAnyTest) SetTo(v AnyTest)
- func (s *OptAnyTest) UnmarshalJSON(data []byte) error
- type OptAnyTestAnyMap
- func (o *OptAnyTestAnyMap) Decode(d *jx.Decoder) error
- func (o OptAnyTestAnyMap) Encode(e *jx.Encoder)
- func (o OptAnyTestAnyMap) Get() (v AnyTestAnyMap, ok bool)
- func (o OptAnyTestAnyMap) IsSet() bool
- func (s OptAnyTestAnyMap) MarshalJSON() ([]byte, error)
- func (o OptAnyTestAnyMap) Or(d AnyTestAnyMap) AnyTestAnyMap
- func (o *OptAnyTestAnyMap) Reset()
- func (s *OptAnyTestAnyMap) SetFake()
- func (o *OptAnyTestAnyMap) SetTo(v AnyTestAnyMap)
- func (s *OptAnyTestAnyMap) UnmarshalJSON(data []byte) error
- type OptArrayTest
- func (o *OptArrayTest) Decode(d *jx.Decoder) error
- func (o OptArrayTest) Encode(e *jx.Encoder)
- func (o OptArrayTest) Get() (v ArrayTest, ok bool)
- func (o OptArrayTest) IsSet() bool
- func (s OptArrayTest) MarshalJSON() ([]byte, error)
- func (o OptArrayTest) Or(d ArrayTest) ArrayTest
- func (o *OptArrayTest) Reset()
- func (s *OptArrayTest) SetFake()
- func (o *OptArrayTest) SetTo(v ArrayTest)
- func (s *OptArrayTest) UnmarshalJSON(data []byte) error
- type OptData
- func (o *OptData) Decode(d *jx.Decoder) error
- func (o OptData) Encode(e *jx.Encoder)
- func (o OptData) Get() (v Data, ok bool)
- func (o OptData) IsSet() bool
- func (s OptData) MarshalJSON() ([]byte, error)
- func (o OptData) Or(d Data) Data
- func (o *OptData) Reset()
- func (s *OptData) SetFake()
- func (o *OptData) SetTo(v Data)
- func (s *OptData) UnmarshalJSON(data []byte) error
- type OptDate
- func (o *OptDate) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDate) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDate) Get() (v time.Time, ok bool)
- func (o OptDate) IsSet() bool
- func (s OptDate) MarshalJSON() ([]byte, error)
- func (o OptDate) Or(d time.Time) time.Time
- func (o *OptDate) Reset()
- func (s *OptDate) SetFake()
- func (o *OptDate) SetTo(v time.Time)
- func (s *OptDate) UnmarshalJSON(data []byte) error
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (s OptDateTime) MarshalJSON() ([]byte, error)
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (s *OptDateTime) SetFake()
- func (o *OptDateTime) SetTo(v time.Time)
- func (s *OptDateTime) UnmarshalJSON(data []byte) error
- type OptDefaultTestEnum
- func (o *OptDefaultTestEnum) Decode(d *jx.Decoder) error
- func (o OptDefaultTestEnum) Encode(e *jx.Encoder)
- func (o OptDefaultTestEnum) Get() (v DefaultTestEnum, ok bool)
- func (o OptDefaultTestEnum) IsSet() bool
- func (s OptDefaultTestEnum) MarshalJSON() ([]byte, error)
- func (o OptDefaultTestEnum) Or(d DefaultTestEnum) DefaultTestEnum
- func (o *OptDefaultTestEnum) Reset()
- func (s *OptDefaultTestEnum) SetFake()
- func (o *OptDefaultTestEnum) SetTo(v DefaultTestEnum)
- func (s *OptDefaultTestEnum) UnmarshalJSON(data []byte) error
- type OptDuration
- func (o *OptDuration) Decode(d *jx.Decoder) error
- func (o OptDuration) Encode(e *jx.Encoder)
- func (o OptDuration) Get() (v time.Duration, ok bool)
- func (o OptDuration) IsSet() bool
- func (s OptDuration) MarshalJSON() ([]byte, error)
- func (o OptDuration) Or(d time.Duration) time.Duration
- func (o *OptDuration) Reset()
- func (s *OptDuration) SetFake()
- func (o *OptDuration) SetTo(v time.Duration)
- func (s *OptDuration) UnmarshalJSON(data []byte) error
- type OptFloat64
- func (o *OptFloat64) Decode(d *jx.Decoder) error
- func (o OptFloat64) Encode(e *jx.Encoder)
- func (o OptFloat64) Get() (v float64, ok bool)
- func (o OptFloat64) IsSet() bool
- func (s OptFloat64) MarshalJSON() ([]byte, error)
- func (o OptFloat64) Or(d float64) float64
- func (o *OptFloat64) Reset()
- func (s *OptFloat64) SetFake()
- func (o *OptFloat64) SetTo(v float64)
- func (s *OptFloat64) UnmarshalJSON(data []byte) error
- type OptID
- func (o *OptID) Decode(d *jx.Decoder) error
- func (o OptID) Encode(e *jx.Encoder)
- func (o OptID) Get() (v ID, ok bool)
- func (o OptID) IsSet() bool
- func (s OptID) MarshalJSON() ([]byte, error)
- func (o OptID) Or(d ID) ID
- func (o *OptID) Reset()
- func (s *OptID) SetFake()
- func (o *OptID) SetTo(v ID)
- func (s *OptID) UnmarshalJSON(data []byte) error
- type OptIP
- func (o *OptIP) Decode(d *jx.Decoder) error
- func (o OptIP) Encode(e *jx.Encoder)
- func (o OptIP) Get() (v netip.Addr, ok bool)
- func (o OptIP) IsSet() bool
- func (s OptIP) MarshalJSON() ([]byte, error)
- func (o OptIP) Or(d netip.Addr) netip.Addr
- func (o *OptIP) Reset()
- func (s *OptIP) SetFake()
- func (o *OptIP) SetTo(v netip.Addr)
- func (s *OptIP) UnmarshalJSON(data []byte) error
- type OptIPv4
- func (o *OptIPv4) Decode(d *jx.Decoder) error
- func (o OptIPv4) Encode(e *jx.Encoder)
- func (o OptIPv4) Get() (v netip.Addr, ok bool)
- func (o OptIPv4) IsSet() bool
- func (s OptIPv4) MarshalJSON() ([]byte, error)
- func (o OptIPv4) Or(d netip.Addr) netip.Addr
- func (o *OptIPv4) Reset()
- func (s *OptIPv4) SetFake()
- func (o *OptIPv4) SetTo(v netip.Addr)
- func (s *OptIPv4) UnmarshalJSON(data []byte) error
- type OptIPv6
- func (o *OptIPv6) Decode(d *jx.Decoder) error
- func (o OptIPv6) Encode(e *jx.Encoder)
- func (o OptIPv6) Get() (v netip.Addr, ok bool)
- func (o OptIPv6) IsSet() bool
- func (s OptIPv6) MarshalJSON() ([]byte, error)
- func (o OptIPv6) Or(d netip.Addr) netip.Addr
- func (o *OptIPv6) Reset()
- func (s *OptIPv6) SetFake()
- func (o *OptIPv6) SetTo(v netip.Addr)
- func (s *OptIPv6) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (s *OptInt) SetFake()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptInt32
- func (o *OptInt32) Decode(d *jx.Decoder) error
- func (o OptInt32) Encode(e *jx.Encoder)
- func (o OptInt32) Get() (v int32, ok bool)
- func (o OptInt32) IsSet() bool
- func (s OptInt32) MarshalJSON() ([]byte, error)
- func (o OptInt32) Or(d int32) int32
- func (o *OptInt32) Reset()
- func (s *OptInt32) SetFake()
- func (o *OptInt32) SetTo(v int32)
- func (s *OptInt32) UnmarshalJSON(data []byte) error
- type OptMapWithProperties
- func (o *OptMapWithProperties) Decode(d *jx.Decoder) error
- func (o OptMapWithProperties) Encode(e *jx.Encoder)
- func (o OptMapWithProperties) Get() (v MapWithProperties, ok bool)
- func (o OptMapWithProperties) IsSet() bool
- func (s OptMapWithProperties) MarshalJSON() ([]byte, error)
- func (o OptMapWithProperties) Or(d MapWithProperties) MapWithProperties
- func (o *OptMapWithProperties) Reset()
- func (s *OptMapWithProperties) SetFake()
- func (o *OptMapWithProperties) SetTo(v MapWithProperties)
- func (s *OptMapWithProperties) UnmarshalJSON(data []byte) error
- type OptMapWithPropertiesInlinedSubMap
- func (o *OptMapWithPropertiesInlinedSubMap) Decode(d *jx.Decoder) error
- func (o OptMapWithPropertiesInlinedSubMap) Encode(e *jx.Encoder)
- func (o OptMapWithPropertiesInlinedSubMap) Get() (v MapWithPropertiesInlinedSubMap, ok bool)
- func (o OptMapWithPropertiesInlinedSubMap) IsSet() bool
- func (s OptMapWithPropertiesInlinedSubMap) MarshalJSON() ([]byte, error)
- func (o OptMapWithPropertiesInlinedSubMap) Or(d MapWithPropertiesInlinedSubMap) MapWithPropertiesInlinedSubMap
- func (o *OptMapWithPropertiesInlinedSubMap) Reset()
- func (s *OptMapWithPropertiesInlinedSubMap) SetFake()
- func (o *OptMapWithPropertiesInlinedSubMap) SetTo(v MapWithPropertiesInlinedSubMap)
- func (s *OptMapWithPropertiesInlinedSubMap) UnmarshalJSON(data []byte) error
- type OptMaxPropertiesTest
- func (o *OptMaxPropertiesTest) Decode(d *jx.Decoder) error
- func (o OptMaxPropertiesTest) Encode(e *jx.Encoder)
- func (o OptMaxPropertiesTest) Get() (v MaxPropertiesTest, ok bool)
- func (o OptMaxPropertiesTest) IsSet() bool
- func (s OptMaxPropertiesTest) MarshalJSON() ([]byte, error)
- func (o OptMaxPropertiesTest) Or(d MaxPropertiesTest) MaxPropertiesTest
- func (o *OptMaxPropertiesTest) Reset()
- func (s *OptMaxPropertiesTest) SetFake()
- func (o *OptMaxPropertiesTest) SetTo(v MaxPropertiesTest)
- func (s *OptMaxPropertiesTest) UnmarshalJSON(data []byte) error
- type OptNilString
- func (o *OptNilString) Decode(d *jx.Decoder) error
- func (o OptNilString) Encode(e *jx.Encoder)
- func (o OptNilString) Get() (v string, ok bool)
- func (o OptNilString) IsNull() bool
- func (o OptNilString) IsSet() bool
- func (s OptNilString) MarshalJSON() ([]byte, error)
- func (o OptNilString) Or(d string) string
- func (o *OptNilString) Reset()
- func (s *OptNilString) SetFake()
- func (o *OptNilString) SetTo(v string)
- func (s *OptNilString) UnmarshalJSON(data []byte) error
- type OptNilStringArray
- func (o *OptNilStringArray) Decode(d *jx.Decoder) error
- func (o OptNilStringArray) Encode(e *jx.Encoder)
- func (o OptNilStringArray) Get() (v []string, ok bool)
- func (o OptNilStringArray) IsNull() bool
- func (o OptNilStringArray) IsSet() bool
- func (s OptNilStringArray) MarshalJSON() ([]byte, error)
- func (o OptNilStringArray) Or(d []string) []string
- func (o *OptNilStringArray) Reset()
- func (s *OptNilStringArray) SetFake()
- func (o *OptNilStringArray) SetTo(v []string)
- func (s *OptNilStringArray) UnmarshalJSON(data []byte) error
- type OptNullValue
- func (o *OptNullValue) Decode(d *jx.Decoder) error
- func (o OptNullValue) Encode(e *jx.Encoder)
- func (o OptNullValue) Get() (v NullValue, ok bool)
- func (o OptNullValue) IsSet() bool
- func (s OptNullValue) MarshalJSON() ([]byte, error)
- func (o OptNullValue) Or(d NullValue) NullValue
- func (o *OptNullValue) Reset()
- func (s *OptNullValue) SetFake()
- func (o *OptNullValue) SetTo(v NullValue)
- func (s *OptNullValue) UnmarshalJSON(data []byte) error
- type OptNullableEnums
- func (o *OptNullableEnums) Decode(d *jx.Decoder) error
- func (o OptNullableEnums) Encode(e *jx.Encoder)
- func (o OptNullableEnums) Get() (v NullableEnums, ok bool)
- func (o OptNullableEnums) IsSet() bool
- func (s OptNullableEnums) MarshalJSON() ([]byte, error)
- func (o OptNullableEnums) Or(d NullableEnums) NullableEnums
- func (o *OptNullableEnums) Reset()
- func (s *OptNullableEnums) SetFake()
- func (o *OptNullableEnums) SetTo(v NullableEnums)
- func (s *OptNullableEnums) UnmarshalJSON(data []byte) error
- type OptOneOfMappingReference
- func (o *OptOneOfMappingReference) Decode(d *jx.Decoder) error
- func (o OptOneOfMappingReference) Encode(e *jx.Encoder)
- func (o OptOneOfMappingReference) Get() (v OneOfMappingReference, ok bool)
- func (o OptOneOfMappingReference) IsSet() bool
- func (s OptOneOfMappingReference) MarshalJSON() ([]byte, error)
- func (o OptOneOfMappingReference) Or(d OneOfMappingReference) OneOfMappingReference
- func (o *OptOneOfMappingReference) Reset()
- func (s *OptOneOfMappingReference) SetFake()
- func (o *OptOneOfMappingReference) SetTo(v OneOfMappingReference)
- func (s *OptOneOfMappingReference) UnmarshalJSON(data []byte) error
- type OptOneOfUUIDAndIntEnum
- func (o *OptOneOfUUIDAndIntEnum) Decode(d *jx.Decoder) error
- func (o OptOneOfUUIDAndIntEnum) Encode(e *jx.Encoder)
- func (o OptOneOfUUIDAndIntEnum) Get() (v OneOfUUIDAndIntEnum, ok bool)
- func (o OptOneOfUUIDAndIntEnum) IsSet() bool
- func (s OptOneOfUUIDAndIntEnum) MarshalJSON() ([]byte, error)
- func (o OptOneOfUUIDAndIntEnum) Or(d OneOfUUIDAndIntEnum) OneOfUUIDAndIntEnum
- func (o *OptOneOfUUIDAndIntEnum) Reset()
- func (s *OptOneOfUUIDAndIntEnum) SetFake()
- func (o *OptOneOfUUIDAndIntEnum) SetTo(v OneOfUUIDAndIntEnum)
- func (s *OptOneOfUUIDAndIntEnum) UnmarshalJSON(data []byte) error
- type OptPet
- func (o *OptPet) Decode(d *jx.Decoder) error
- func (o OptPet) Encode(e *jx.Encoder)
- func (o OptPet) Get() (v Pet, ok bool)
- func (o OptPet) IsSet() bool
- func (s OptPet) MarshalJSON() ([]byte, error)
- func (o OptPet) Or(d Pet) Pet
- func (o *OptPet) Reset()
- func (s *OptPet) SetFake()
- func (o *OptPet) SetTo(v Pet)
- func (s *OptPet) UnmarshalJSON(data []byte) error
- type OptPetName
- func (o *OptPetName) Decode(d *jx.Decoder) error
- func (o OptPetName) Encode(e *jx.Encoder)
- func (o OptPetName) Get() (v PetName, ok bool)
- func (o OptPetName) IsSet() bool
- func (s OptPetName) MarshalJSON() ([]byte, error)
- func (o OptPetName) Or(d PetName) PetName
- func (o *OptPetName) Reset()
- func (s *OptPetName) SetFake()
- func (o *OptPetName) SetTo(v PetName)
- func (s *OptPetName) UnmarshalJSON(data []byte) error
- type OptPetType
- func (o *OptPetType) Decode(d *jx.Decoder) error
- func (o OptPetType) Encode(e *jx.Encoder)
- func (o OptPetType) Get() (v PetType, ok bool)
- func (o OptPetType) IsSet() bool
- func (s OptPetType) MarshalJSON() ([]byte, error)
- func (o OptPetType) Or(d PetType) PetType
- func (o *OptPetType) Reset()
- func (s *OptPetType) SetFake()
- func (o *OptPetType) SetTo(v PetType)
- func (s *OptPetType) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (s *OptString) SetFake()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptStringMap
- func (o *OptStringMap) Decode(d *jx.Decoder) error
- func (o OptStringMap) Encode(e *jx.Encoder)
- func (o OptStringMap) Get() (v StringMap, ok bool)
- func (o OptStringMap) IsSet() bool
- func (s OptStringMap) MarshalJSON() ([]byte, error)
- func (o OptStringMap) Or(d StringMap) StringMap
- func (o *OptStringMap) Reset()
- func (s *OptStringMap) SetFake()
- func (o *OptStringMap) SetTo(v StringMap)
- func (s *OptStringMap) UnmarshalJSON(data []byte) error
- type OptStringStringMap
- func (o *OptStringStringMap) Decode(d *jx.Decoder) error
- func (o OptStringStringMap) Encode(e *jx.Encoder)
- func (o OptStringStringMap) Get() (v StringStringMap, ok bool)
- func (o OptStringStringMap) IsSet() bool
- func (s OptStringStringMap) MarshalJSON() ([]byte, error)
- func (o OptStringStringMap) Or(d StringStringMap) StringStringMap
- func (o *OptStringStringMap) Reset()
- func (s *OptStringStringMap) SetFake()
- func (o *OptStringStringMap) SetTo(v StringStringMap)
- func (s *OptStringStringMap) UnmarshalJSON(data []byte) error
- type OptTestObjectQueryParameterDeepObject
- func (o OptTestObjectQueryParameterDeepObject) Get() (v TestObjectQueryParameterDeepObject, ok bool)
- func (o OptTestObjectQueryParameterDeepObject) IsSet() bool
- func (o OptTestObjectQueryParameterDeepObject) Or(d TestObjectQueryParameterDeepObject) TestObjectQueryParameterDeepObject
- func (o *OptTestObjectQueryParameterDeepObject) Reset()
- func (o *OptTestObjectQueryParameterDeepObject) SetTo(v TestObjectQueryParameterDeepObject)
- type OptTestObjectQueryParameterFormObject
- func (o OptTestObjectQueryParameterFormObject) Get() (v TestObjectQueryParameterFormObject, ok bool)
- func (o OptTestObjectQueryParameterFormObject) IsSet() bool
- func (o OptTestObjectQueryParameterFormObject) Or(d TestObjectQueryParameterFormObject) TestObjectQueryParameterFormObject
- func (o *OptTestObjectQueryParameterFormObject) Reset()
- func (o *OptTestObjectQueryParameterFormObject) SetTo(v TestObjectQueryParameterFormObject)
- type OptTime
- func (o *OptTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptTime) Get() (v time.Time, ok bool)
- func (o OptTime) IsSet() bool
- func (s OptTime) MarshalJSON() ([]byte, error)
- func (o OptTime) Or(d time.Time) time.Time
- func (o *OptTime) Reset()
- func (s *OptTime) SetFake()
- func (o *OptTime) SetTo(v time.Time)
- func (s *OptTime) UnmarshalJSON(data []byte) error
- type OptURI
- func (o *OptURI) Decode(d *jx.Decoder) error
- func (o OptURI) Encode(e *jx.Encoder)
- func (o OptURI) Get() (v url.URL, ok bool)
- func (o OptURI) IsSet() bool
- func (s OptURI) MarshalJSON() ([]byte, error)
- func (o OptURI) Or(d url.URL) url.URL
- func (o *OptURI) Reset()
- func (s *OptURI) SetFake()
- func (o *OptURI) SetTo(v url.URL)
- func (s *OptURI) UnmarshalJSON(data []byte) error
- type OptUUID
- func (o *OptUUID) Decode(d *jx.Decoder) error
- func (o OptUUID) Encode(e *jx.Encoder)
- func (o OptUUID) Get() (v uuid.UUID, ok bool)
- func (o OptUUID) IsSet() bool
- func (s OptUUID) MarshalJSON() ([]byte, error)
- func (o OptUUID) Or(d uuid.UUID) uuid.UUID
- func (o *OptUUID) Reset()
- func (s *OptUUID) SetFake()
- func (o *OptUUID) SetTo(v uuid.UUID)
- func (s *OptUUID) UnmarshalJSON(data []byte) error
- type OptValidationStringMap
- func (o *OptValidationStringMap) Decode(d *jx.Decoder) error
- func (o OptValidationStringMap) Encode(e *jx.Encoder)
- func (o OptValidationStringMap) Get() (v ValidationStringMap, ok bool)
- func (o OptValidationStringMap) IsSet() bool
- func (s OptValidationStringMap) MarshalJSON() ([]byte, error)
- func (o OptValidationStringMap) Or(d ValidationStringMap) ValidationStringMap
- func (o *OptValidationStringMap) Reset()
- func (s *OptValidationStringMap) SetFake()
- func (o *OptValidationStringMap) SetTo(v ValidationStringMap)
- func (s *OptValidationStringMap) UnmarshalJSON(data []byte) error
- type Option
- type PatternRecursiveMap
- type Pet
- type PetFriendsNamesByIDParams
- type PetGetAvatarByIDOK
- type PetGetAvatarByIDParams
- type PetGetAvatarByIDRes
- type PetGetAvatarByNameOK
- type PetGetAvatarByNameParams
- type PetGetAvatarByNameRes
- type PetGetByNameParams
- type PetGetDef
- type PetGetDefStatusCode
- type PetGetParams
- type PetGetRes
- type PetKind
- type PetName
- type PetNameByIDParams
- type PetType
- type PetUpdateNameAliasPostDef
- type PetUpdateNameAliasPostDefStatusCode
- type PetUpdateNamePostDef
- type PetUpdateNamePostDefStatusCode
- type PetUploadAvatarByIDOK
- type PetUploadAvatarByIDParams
- type PetUploadAvatarByIDReq
- type PetUploadAvatarByIDRes
- type RecursiveArray
- type RecursiveMap
- type RecursiveMapAdditional
- type Route
- type SecurityHandler
- type SecuritySource
- type Server
- type StringIntMap
- type StringIntMapAdditional
- type StringIntMapPattern0
- type StringMap
- type StringStringMap
- type TestFloatValidation
- func (s *TestFloatValidation) Decode(d *jx.Decoder) error
- func (s TestFloatValidation) Encode(e *jx.Encoder)
- func (s TestFloatValidation) MarshalJSON() ([]byte, error)
- func (s *TestFloatValidation) SetFake()
- func (s *TestFloatValidation) UnmarshalJSON(data []byte) error
- func (s TestFloatValidation) Validate() error
- type TestFloatValidationOK
- type TestObjectQueryParameterDeepObject
- type TestObjectQueryParameterFormObject
- type TestObjectQueryParameterOK
- func (s *TestObjectQueryParameterOK) Decode(d *jx.Decoder) error
- func (s TestObjectQueryParameterOK) Encode(e *jx.Encoder)
- func (s TestObjectQueryParameterOK) MarshalJSON() ([]byte, error)
- func (s *TestObjectQueryParameterOK) SetFake()
- func (s *TestObjectQueryParameterOK) UnmarshalJSON(data []byte) error
- type TestObjectQueryParameterParams
- type UnimplementedHandler
- func (UnimplementedHandler) DataGetFormat(ctx context.Context, params DataGetFormatParams) (r string, _ error)
- func (UnimplementedHandler) DefaultTest(ctx context.Context, req DefaultTest, params DefaultTestParams) (r int32, _ error)
- func (UnimplementedHandler) ErrorGet(ctx context.Context) (r ErrorStatusCode, _ error)
- func (UnimplementedHandler) FoobarGet(ctx context.Context, params FoobarGetParams) (r FoobarGetRes, _ error)
- func (UnimplementedHandler) FoobarPost(ctx context.Context, req OptPet) (r FoobarPostRes, _ error)
- func (UnimplementedHandler) FoobarPut(ctx context.Context) (r FoobarPutDefStatusCode, _ error)
- func (UnimplementedHandler) GetHeader(ctx context.Context, params GetHeaderParams) (r Hash, _ error)
- func (UnimplementedHandler) NullableDefaultResponse(ctx context.Context) (r NilIntStatusCode, _ error)
- func (UnimplementedHandler) OneofBug(ctx context.Context, req OneOfBugs) (r OneofBugOK, _ error)
- func (UnimplementedHandler) PatternRecursiveMapGet(ctx context.Context) (r PatternRecursiveMap, _ error)
- func (UnimplementedHandler) PetCreate(ctx context.Context, req OptPet) (r Pet, _ error)
- func (UnimplementedHandler) PetFriendsNamesByID(ctx context.Context, params PetFriendsNamesByIDParams) (r []string, _ error)
- func (UnimplementedHandler) PetGet(ctx context.Context, params PetGetParams) (r PetGetRes, _ error)
- func (UnimplementedHandler) PetGetAvatarByID(ctx context.Context, params PetGetAvatarByIDParams) (r PetGetAvatarByIDRes, _ error)
- func (UnimplementedHandler) PetGetAvatarByName(ctx context.Context, params PetGetAvatarByNameParams) (r PetGetAvatarByNameRes, _ error)
- func (UnimplementedHandler) PetGetByName(ctx context.Context, params PetGetByNameParams) (r Pet, _ error)
- func (UnimplementedHandler) PetNameByID(ctx context.Context, params PetNameByIDParams) (r string, _ error)
- func (UnimplementedHandler) PetUpdateNameAliasPost(ctx context.Context, req OptPetName) (r PetUpdateNameAliasPostDefStatusCode, _ error)
- func (UnimplementedHandler) PetUpdateNamePost(ctx context.Context, req OptString) (r PetUpdateNamePostDefStatusCode, _ error)
- func (UnimplementedHandler) PetUploadAvatarByID(ctx context.Context, req PetUploadAvatarByIDReq, ...) (r PetUploadAvatarByIDRes, _ error)
- func (UnimplementedHandler) RecursiveArrayGet(ctx context.Context) (r RecursiveArray, _ error)
- func (UnimplementedHandler) RecursiveMapGet(ctx context.Context) (r RecursiveMap, _ error)
- func (UnimplementedHandler) SecurityTest(ctx context.Context) (r string, _ error)
- func (UnimplementedHandler) StringIntMapGet(ctx context.Context) (r StringIntMap, _ error)
- func (UnimplementedHandler) TestFloatValidation(ctx context.Context, req TestFloatValidation) (r TestFloatValidationOK, _ error)
- func (UnimplementedHandler) TestObjectQueryParameter(ctx context.Context, params TestObjectQueryParameterParams) (r TestObjectQueryParameterOK, _ error)
- type ValidationStringMap
- func (s *ValidationStringMap) Decode(d *jx.Decoder) error
- func (s ValidationStringMap) Encode(e *jx.Encoder)
- func (s ValidationStringMap) MarshalJSON() ([]byte, error)
- func (s *ValidationStringMap) SetFake()
- func (s *ValidationStringMap) UnmarshalJSON(data []byte) error
- func (s ValidationStringMap) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnyOfTest ¶ added in v0.12.0
type AnyOfTest struct { Medium string "json:\"medium\"" SizeLimit AnyOfTestSizeLimit "json:\"sizeLimit\"" }
Type for testing some anyOf cases from Jaeger operator API schema. Ref: #/components/schemas/AnyOfTest
func (AnyOfTest) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*AnyOfTest) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type AnyOfTestSizeLimit ¶ added in v0.12.0
type AnyOfTestSizeLimit struct { Type AnyOfTestSizeLimitType // switch on this field Int int String string }
AnyOfTestSizeLimit represents sum type.
func NewIntAnyOfTestSizeLimit ¶ added in v0.12.0
func NewIntAnyOfTestSizeLimit(v int) AnyOfTestSizeLimit
NewIntAnyOfTestSizeLimit returns new AnyOfTestSizeLimit from int.
func NewStringAnyOfTestSizeLimit ¶ added in v0.12.0
func NewStringAnyOfTestSizeLimit(v string) AnyOfTestSizeLimit
NewStringAnyOfTestSizeLimit returns new AnyOfTestSizeLimit from string.
func (*AnyOfTestSizeLimit) Decode ¶ added in v0.12.0
func (s *AnyOfTestSizeLimit) Decode(d *jx.Decoder) error
Decode decodes AnyOfTestSizeLimit from json.
func (AnyOfTestSizeLimit) Encode ¶ added in v0.12.0
func (s AnyOfTestSizeLimit) Encode(e *jx.Encoder)
Encode encodes AnyOfTestSizeLimit as json.
func (AnyOfTestSizeLimit) GetInt ¶ added in v0.12.0
func (s AnyOfTestSizeLimit) GetInt() (v int, ok bool)
GetInt returns int and true boolean if AnyOfTestSizeLimit is int.
func (AnyOfTestSizeLimit) GetString ¶ added in v0.12.0
func (s AnyOfTestSizeLimit) GetString() (v string, ok bool)
GetString returns string and true boolean if AnyOfTestSizeLimit is string.
func (AnyOfTestSizeLimit) IsInt ¶ added in v0.12.0
func (s AnyOfTestSizeLimit) IsInt() bool
IsInt reports whether AnyOfTestSizeLimit is int.
func (AnyOfTestSizeLimit) IsString ¶ added in v0.12.0
func (s AnyOfTestSizeLimit) IsString() bool
IsString reports whether AnyOfTestSizeLimit is string.
func (AnyOfTestSizeLimit) MarshalJSON ¶ added in v0.20.0
func (s AnyOfTestSizeLimit) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AnyOfTestSizeLimit) SetFake ¶ added in v0.19.0
func (s *AnyOfTestSizeLimit) SetFake()
SetFake set fake values.
func (*AnyOfTestSizeLimit) SetInt ¶ added in v0.12.0
func (s *AnyOfTestSizeLimit) SetInt(v int)
SetInt sets AnyOfTestSizeLimit to int.
func (*AnyOfTestSizeLimit) SetString ¶ added in v0.12.0
func (s *AnyOfTestSizeLimit) SetString(v string)
SetString sets AnyOfTestSizeLimit to string.
func (*AnyOfTestSizeLimit) UnmarshalJSON ¶ added in v0.20.0
func (s *AnyOfTestSizeLimit) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (AnyOfTestSizeLimit) Validate ¶ added in v0.12.0
func (s AnyOfTestSizeLimit) Validate() error
type AnyOfTestSizeLimitType ¶ added in v0.12.0
type AnyOfTestSizeLimitType string
AnyOfTestSizeLimitType is oneOf type of AnyOfTestSizeLimit.
const ( IntAnyOfTestSizeLimit AnyOfTestSizeLimitType = "int" StringAnyOfTestSizeLimit AnyOfTestSizeLimitType = "string" )
Possible values for AnyOfTestSizeLimitType.
type AnyTest ¶ added in v0.11.0
type AnyTest struct { Empty jx.Raw "json:\"empty\"" AnyMap OptAnyTestAnyMap "json:\"any_map\"" AnyArray []jx.Raw "json:\"any_array\"" }
Ref: #/components/schemas/AnyTest
func (AnyTest) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*AnyTest) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type AnyTestAnyMap ¶ added in v0.11.0
func (*AnyTestAnyMap) Decode ¶ added in v0.11.0
func (s *AnyTestAnyMap) Decode(d *jx.Decoder) error
Decode decodes AnyTestAnyMap from json.
func (AnyTestAnyMap) Encode ¶ added in v0.11.0
func (s AnyTestAnyMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AnyTestAnyMap) MarshalJSON ¶ added in v0.20.0
func (s AnyTestAnyMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AnyTestAnyMap) SetFake ¶ added in v0.19.0
func (s *AnyTestAnyMap) SetFake()
SetFake set fake values.
func (*AnyTestAnyMap) UnmarshalJSON ¶ added in v0.20.0
func (s *AnyTestAnyMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ArrayTest ¶ added in v0.9.0
type ArrayTest struct { Required []string "json:\"required\"" Optional []string "json:\"optional\"" NullableRequired []string "json:\"nullable_required\"" NullableOptional OptNilStringArray "json:\"nullable_optional\"" }
Test array encoder/decoder generation. Ref: #/components/schemas/ArrayTest
func (ArrayTest) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*ArrayTest) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, sec SecuritySource, opts ...Option) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) DataGetFormat ¶ added in v0.7.0
func (c *Client) DataGetFormat(ctx context.Context, params DataGetFormatParams) (res string, err error)
DataGetFormat invokes dataGetFormat operation.
Retrieve data.
GET /name/{id}/{foo}1234{bar}-{baz}!{kek}
func (*Client) DefaultTest ¶ added in v0.15.0
func (c *Client) DefaultTest(ctx context.Context, request DefaultTest, params DefaultTestParams) (res int32, err error)
DefaultTest invokes defaultTest operation.
POST /defaultTest
func (*Client) ErrorGet ¶
func (c *Client) ErrorGet(ctx context.Context) (res ErrorStatusCode, err error)
ErrorGet invokes errorGet operation.
Returns error.
GET /error
func (*Client) FoobarGet ¶
func (c *Client) FoobarGet(ctx context.Context, params FoobarGetParams) (res FoobarGetRes, err error)
FoobarGet invokes foobarGet operation.
Dumb endpoint for testing things.
GET /foobar
func (*Client) FoobarPost ¶
FoobarPost invokes foobarPost operation.
Dumb endpoint for testing things.
POST /foobar
func (*Client) FoobarPut ¶
func (c *Client) FoobarPut(ctx context.Context) (res FoobarPutDefStatusCode, err error)
FoobarPut invokes operation.
PUT /foobar
func (*Client) GetHeader ¶
GetHeader invokes getHeader operation.
Test for header param.
GET /test/header
func (*Client) NullableDefaultResponse ¶ added in v0.15.0
func (c *Client) NullableDefaultResponse(ctx context.Context) (res NilIntStatusCode, err error)
NullableDefaultResponse invokes nullableDefaultResponse operation.
GET /nullableDefaultResponse
func (*Client) PatternRecursiveMapGet ¶ added in v0.23.0
func (c *Client) PatternRecursiveMapGet(ctx context.Context) (res PatternRecursiveMap, err error)
PatternRecursiveMapGet invokes operation.
GET /patternRecursiveMap
func (*Client) PetFriendsNamesByID ¶
func (c *Client) PetFriendsNamesByID(ctx context.Context, params PetFriendsNamesByIDParams) (res []string, err error)
PetFriendsNamesByID invokes petFriendsNamesByID operation.
Returns names of all friends of pet.
GET /pet/friendNames/{id}
func (*Client) PetGet ¶
PetGet invokes petGet operation.
Returns pet from the system that the user has access to.
GET /pet
func (*Client) PetGetAvatarByID ¶
func (c *Client) PetGetAvatarByID(ctx context.Context, params PetGetAvatarByIDParams) (res PetGetAvatarByIDRes, err error)
PetGetAvatarByID invokes petGetAvatarByID operation.
Returns pet avatar by id.
GET /pet/avatar
func (*Client) PetGetAvatarByName ¶ added in v0.14.1
func (c *Client) PetGetAvatarByName(ctx context.Context, params PetGetAvatarByNameParams) (res PetGetAvatarByNameRes, err error)
PetGetAvatarByName invokes petGetAvatarByName operation.
Returns pet's avatar by name.
GET /pet/{name}/avatar
func (*Client) PetGetByName ¶
PetGetByName invokes petGetByName operation.
Returns pet by name from the system that the user has access to.
GET /pet/{name}
func (*Client) PetNameByID ¶
PetNameByID invokes petNameByID operation.
Returns pet name by pet id.
GET /pet/name/{id}
func (*Client) PetUpdateNameAliasPost ¶
func (c *Client) PetUpdateNameAliasPost(ctx context.Context, request OptPetName) (res PetUpdateNameAliasPostDefStatusCode, err error)
PetUpdateNameAliasPost invokes operation.
POST /pet/updateNameAlias
func (*Client) PetUpdateNamePost ¶
func (c *Client) PetUpdateNamePost(ctx context.Context, request OptString) (res PetUpdateNamePostDefStatusCode, err error)
PetUpdateNamePost invokes operation.
POST /pet/updateName
func (*Client) PetUploadAvatarByID ¶
func (c *Client) PetUploadAvatarByID(ctx context.Context, request PetUploadAvatarByIDReq, params PetUploadAvatarByIDParams) (res PetUploadAvatarByIDRes, err error)
PetUploadAvatarByID invokes petUploadAvatarByID operation.
Uploads pet avatar by id.
POST /pet/avatar
func (*Client) RecursiveArrayGet ¶ added in v0.16.0
func (c *Client) RecursiveArrayGet(ctx context.Context) (res RecursiveArray, err error)
RecursiveArrayGet invokes operation.
GET /recursiveArray
func (*Client) RecursiveMapGet ¶ added in v0.11.1
func (c *Client) RecursiveMapGet(ctx context.Context) (res RecursiveMap, err error)
RecursiveMapGet invokes operation.
GET /recursiveMap
func (*Client) SecurityTest ¶ added in v0.19.0
SecurityTest invokes securityTest operation.
GET /securityTest
func (*Client) StringIntMapGet ¶ added in v0.23.0
func (c *Client) StringIntMapGet(ctx context.Context) (res StringIntMap, err error)
StringIntMapGet invokes operation.
GET /stringIntMap
func (*Client) TestFloatValidation ¶ added in v0.16.0
func (c *Client) TestFloatValidation(ctx context.Context, request TestFloatValidation) (res TestFloatValidationOK, err error)
TestFloatValidation invokes testFloatValidation operation.
POST /testFloatValidation
func (*Client) TestObjectQueryParameter ¶ added in v0.10.0
func (c *Client) TestObjectQueryParameter(ctx context.Context, params TestObjectQueryParameterParams) (res TestObjectQueryParameterOK, err error)
TestObjectQueryParameter invokes testObjectQueryParameter operation.
GET /testObjectQueryParameter
type Data ¶
type Data struct { ID ID "json:\"id\"" Description DataDescription "json:\"description\"" Email string "json:\"email\"" Hostname string "json:\"hostname\"" Format string "json:\"format\"" Base64 []byte "json:\"base64\"" NullableEnum OptNullableEnums "json:\"nullable_enum\"" }
Ref: #/components/schemas/Data
func (Data) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*Data) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type DataDescription ¶
type DataDescription struct { Type DataDescriptionType // switch on this field DescriptionDetailed DescriptionDetailed DescriptionSimple DescriptionSimple }
DataDescription represents sum type.
func NewDescriptionDetailedDataDescription ¶
func NewDescriptionDetailedDataDescription(v DescriptionDetailed) DataDescription
NewDescriptionDetailedDataDescription returns new DataDescription from DescriptionDetailed.
func NewDescriptionSimpleDataDescription ¶
func NewDescriptionSimpleDataDescription(v DescriptionSimple) DataDescription
NewDescriptionSimpleDataDescription returns new DataDescription from DescriptionSimple.
func (*DataDescription) Decode ¶
func (s *DataDescription) Decode(d *jx.Decoder) error
Decode decodes DataDescription from json.
func (DataDescription) Encode ¶
func (s DataDescription) Encode(e *jx.Encoder)
Encode encodes DataDescription as json.
func (DataDescription) GetDescriptionDetailed ¶
func (s DataDescription) GetDescriptionDetailed() (v DescriptionDetailed, ok bool)
GetDescriptionDetailed returns DescriptionDetailed and true boolean if DataDescription is DescriptionDetailed.
func (DataDescription) GetDescriptionSimple ¶
func (s DataDescription) GetDescriptionSimple() (v DescriptionSimple, ok bool)
GetDescriptionSimple returns DescriptionSimple and true boolean if DataDescription is DescriptionSimple.
func (DataDescription) IsDescriptionDetailed ¶
func (s DataDescription) IsDescriptionDetailed() bool
IsDescriptionDetailed reports whether DataDescription is DescriptionDetailed.
func (DataDescription) IsDescriptionSimple ¶
func (s DataDescription) IsDescriptionSimple() bool
IsDescriptionSimple reports whether DataDescription is DescriptionSimple.
func (DataDescription) MarshalJSON ¶ added in v0.20.0
func (s DataDescription) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DataDescription) SetDescriptionDetailed ¶
func (s *DataDescription) SetDescriptionDetailed(v DescriptionDetailed)
SetDescriptionDetailed sets DataDescription to DescriptionDetailed.
func (*DataDescription) SetDescriptionSimple ¶
func (s *DataDescription) SetDescriptionSimple(v DescriptionSimple)
SetDescriptionSimple sets DataDescription to DescriptionSimple.
func (*DataDescription) SetFake ¶ added in v0.19.0
func (s *DataDescription) SetFake()
SetFake set fake values.
func (*DataDescription) UnmarshalJSON ¶ added in v0.20.0
func (s *DataDescription) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DataDescriptionType ¶
type DataDescriptionType string
DataDescriptionType is oneOf type of DataDescription.
const ( DescriptionDetailedDataDescription DataDescriptionType = "DescriptionDetailed" DescriptionSimpleDataDescription DataDescriptionType = "DescriptionSimple" )
Possible values for DataDescriptionType.
type DataGetFormatParams ¶ added in v0.7.0
type DefaultTest ¶ added in v0.15.0
type DefaultTest struct { Required string "json:\"required\"" Str OptString "json:\"str\"" NullStr OptNilString "json:\"nullStr\"" Enum OptDefaultTestEnum "json:\"enum\"" UUID OptUUID "json:\"uuid\"" IP OptIP "json:\"ip\"" IPV4 OptIPv4 "json:\"ip_v4\"" IPV6 OptIPv6 "json:\"ip_v6\"" URI OptURI "json:\"uri\"" Birthday OptDate "json:\"birthday\"" Rate OptDuration "json:\"rate\"" Email OptString "json:\"email\"" Hostname OptString "json:\"hostname\"" Format OptString "json:\"format\"" Base64 []byte "json:\"base64\"" }
Ref: #/components/schemas/DefaultTest
func (*DefaultTest) Decode ¶ added in v0.15.0
func (s *DefaultTest) Decode(d *jx.Decoder) error
Decode decodes DefaultTest from json.
func (DefaultTest) Encode ¶ added in v0.15.0
func (s DefaultTest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DefaultTest) MarshalJSON ¶ added in v0.20.0
func (s DefaultTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DefaultTest) SetFake ¶ added in v0.19.0
func (s *DefaultTest) SetFake()
SetFake set fake values.
func (*DefaultTest) UnmarshalJSON ¶ added in v0.20.0
func (s *DefaultTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (DefaultTest) Validate ¶ added in v0.15.0
func (s DefaultTest) Validate() error
type DefaultTestEnum ¶ added in v0.15.0
type DefaultTestEnum string
const ( DefaultTestEnumBig DefaultTestEnum = "big" DefaultTestEnumSmol DefaultTestEnum = "smol" )
func (*DefaultTestEnum) Decode ¶ added in v0.15.0
func (s *DefaultTestEnum) Decode(d *jx.Decoder) error
Decode decodes DefaultTestEnum from json.
func (DefaultTestEnum) Encode ¶ added in v0.15.0
func (s DefaultTestEnum) Encode(e *jx.Encoder)
Encode encodes DefaultTestEnum as json.
func (DefaultTestEnum) MarshalJSON ¶ added in v0.20.0
func (s DefaultTestEnum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DefaultTestEnum) SetFake ¶ added in v0.19.0
func (s *DefaultTestEnum) SetFake()
SetFake set fake values.
func (*DefaultTestEnum) UnmarshalJSON ¶ added in v0.20.0
func (s *DefaultTestEnum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (DefaultTestEnum) Validate ¶ added in v0.15.0
func (s DefaultTestEnum) Validate() error
type DefaultTestParams ¶ added in v0.15.0
type DefaultTestParams struct {
Default OptInt32
}
type DescriptionDetailed ¶
type DescriptionDetailed struct { Name string "json:\"name\"" Count int "json:\"count\"" ID OptID "json:\"id\"" }
Ref: #/components/schemas/DescriptionDetailed
func (*DescriptionDetailed) Decode ¶
func (s *DescriptionDetailed) Decode(d *jx.Decoder) error
Decode decodes DescriptionDetailed from json.
func (DescriptionDetailed) Encode ¶
func (s DescriptionDetailed) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DescriptionDetailed) MarshalJSON ¶ added in v0.20.0
func (s DescriptionDetailed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DescriptionDetailed) SetFake ¶ added in v0.19.0
func (s *DescriptionDetailed) SetFake()
SetFake set fake values.
func (*DescriptionDetailed) UnmarshalJSON ¶ added in v0.20.0
func (s *DescriptionDetailed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DescriptionSimple ¶
type DescriptionSimple struct {
Description string "json:\"description\""
}
Ref: #/components/schemas/DescriptionSimple
func (*DescriptionSimple) Decode ¶
func (s *DescriptionSimple) Decode(d *jx.Decoder) error
Decode decodes DescriptionSimple from json.
func (DescriptionSimple) Encode ¶
func (s DescriptionSimple) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DescriptionSimple) MarshalJSON ¶ added in v0.20.0
func (s DescriptionSimple) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DescriptionSimple) SetFake ¶ added in v0.19.0
func (s *DescriptionSimple) SetFake()
SetFake set fake values.
func (*DescriptionSimple) UnmarshalJSON ¶ added in v0.20.0
func (s *DescriptionSimple) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Error ¶
func (Error) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*Error) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorHandler ¶ added in v0.25.0
ErrorHandler is error handler.
type ErrorStatusCode ¶
ErrorStatusCode wraps Error with StatusCode.
type FoobarGetParams ¶
type FoobarGetRes ¶
type FoobarGetRes interface {
// contains filtered or unexported methods
}
type FoobarPostRes ¶
type FoobarPostRes interface {
// contains filtered or unexported methods
}
type FoobarPutDef ¶
type FoobarPutDef struct{}
FoobarPutDef is default response for FoobarPut operation.
type FoobarPutDefStatusCode ¶
type FoobarPutDefStatusCode struct { StatusCode int Response FoobarPutDef }
FoobarPutDefStatusCode wraps FoobarPutDef with StatusCode.
type GetHeaderParams ¶
type GetHeaderParams struct {
XAuthToken string
}
type Handler ¶
type Handler interface { // DataGetFormat implements dataGetFormat operation. // // Retrieve data. // // GET /name/{id}/{foo}1234{bar}-{baz}!{kek} DataGetFormat(ctx context.Context, params DataGetFormatParams) (string, error) // DefaultTest implements defaultTest operation. // // POST /defaultTest DefaultTest(ctx context.Context, req DefaultTest, params DefaultTestParams) (int32, error) // ErrorGet implements errorGet operation. // // Returns error. // // GET /error ErrorGet(ctx context.Context) (ErrorStatusCode, error) // FoobarGet implements foobarGet operation. // // Dumb endpoint for testing things. // // GET /foobar FoobarGet(ctx context.Context, params FoobarGetParams) (FoobarGetRes, error) // FoobarPost implements foobarPost operation. // // Dumb endpoint for testing things. // // POST /foobar FoobarPost(ctx context.Context, req OptPet) (FoobarPostRes, error) // FoobarPut implements operation. // // PUT /foobar FoobarPut(ctx context.Context) (FoobarPutDefStatusCode, error) // GetHeader implements getHeader operation. // // Test for header param. // // GET /test/header GetHeader(ctx context.Context, params GetHeaderParams) (Hash, error) // NullableDefaultResponse implements nullableDefaultResponse operation. // // GET /nullableDefaultResponse NullableDefaultResponse(ctx context.Context) (NilIntStatusCode, error) // OneofBug implements oneofBug operation. // // POST /oneofBug OneofBug(ctx context.Context, req OneOfBugs) (OneofBugOK, error) // PatternRecursiveMapGet implements operation. // // GET /patternRecursiveMap PatternRecursiveMapGet(ctx context.Context) (PatternRecursiveMap, error) // PetCreate implements petCreate operation. // // Creates pet. // // POST /pet PetCreate(ctx context.Context, req OptPet) (Pet, error) // PetFriendsNamesByID implements petFriendsNamesByID operation. // // Returns names of all friends of pet. // // GET /pet/friendNames/{id} PetFriendsNamesByID(ctx context.Context, params PetFriendsNamesByIDParams) ([]string, error) // PetGet implements petGet operation. // // Returns pet from the system that the user has access to. // // GET /pet PetGet(ctx context.Context, params PetGetParams) (PetGetRes, error) // PetGetAvatarByID implements petGetAvatarByID operation. // // Returns pet avatar by id. // // GET /pet/avatar PetGetAvatarByID(ctx context.Context, params PetGetAvatarByIDParams) (PetGetAvatarByIDRes, error) // PetGetAvatarByName implements petGetAvatarByName operation. // // Returns pet's avatar by name. // // GET /pet/{name}/avatar PetGetAvatarByName(ctx context.Context, params PetGetAvatarByNameParams) (PetGetAvatarByNameRes, error) // PetGetByName implements petGetByName operation. // // Returns pet by name from the system that the user has access to. // // GET /pet/{name} PetGetByName(ctx context.Context, params PetGetByNameParams) (Pet, error) // PetNameByID implements petNameByID operation. // // Returns pet name by pet id. // // GET /pet/name/{id} PetNameByID(ctx context.Context, params PetNameByIDParams) (string, error) // PetUpdateNameAliasPost implements operation. // // POST /pet/updateNameAlias PetUpdateNameAliasPost(ctx context.Context, req OptPetName) (PetUpdateNameAliasPostDefStatusCode, error) // PetUpdateNamePost implements operation. // // POST /pet/updateName PetUpdateNamePost(ctx context.Context, req OptString) (PetUpdateNamePostDefStatusCode, error) // PetUploadAvatarByID implements petUploadAvatarByID operation. // // Uploads pet avatar by id. // // POST /pet/avatar PetUploadAvatarByID(ctx context.Context, req PetUploadAvatarByIDReq, params PetUploadAvatarByIDParams) (PetUploadAvatarByIDRes, error) // RecursiveArrayGet implements operation. // // GET /recursiveArray RecursiveArrayGet(ctx context.Context) (RecursiveArray, error) // RecursiveMapGet implements operation. // // GET /recursiveMap RecursiveMapGet(ctx context.Context) (RecursiveMap, error) // SecurityTest implements securityTest operation. // // GET /securityTest SecurityTest(ctx context.Context) (string, error) // StringIntMapGet implements operation. // // GET /stringIntMap StringIntMapGet(ctx context.Context) (StringIntMap, error) // TestFloatValidation implements testFloatValidation operation. // // POST /testFloatValidation TestFloatValidation(ctx context.Context, req TestFloatValidation) (TestFloatValidationOK, error) // TestObjectQueryParameter implements testObjectQueryParameter operation. // // GET /testObjectQueryParameter TestObjectQueryParameter(ctx context.Context, params TestObjectQueryParameterParams) (TestObjectQueryParameterOK, error) }
Handler handles operations described by OpenAPI v3 specification.
type Hash ¶
Ref: #/components/schemas/Hash
func (Hash) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*Hash) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type ID ¶
Ref: #/components/schemas/ID ID represents sum type.
func (ID) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*ID) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue143 ¶ added in v0.10.0
type Issue143 struct { Type Issue143Type // switch on this field Issue1430 Issue1430 Issue1431 Issue1431 Issue1432 Issue1432 Issue1433 Issue1433 }
Ref: #/components/schemas/Issue143 Issue143 represents sum type.
func NewIssue1430Issue143 ¶ added in v0.10.0
NewIssue1430Issue143 returns new Issue143 from Issue1430.
func NewIssue1431Issue143 ¶ added in v0.10.0
NewIssue1431Issue143 returns new Issue143 from Issue1431.
func NewIssue1432Issue143 ¶ added in v0.10.0
NewIssue1432Issue143 returns new Issue143 from Issue1432.
func NewIssue1433Issue143 ¶ added in v0.10.0
NewIssue1433Issue143 returns new Issue143 from Issue1433.
func (Issue143) GetIssue1430 ¶ added in v0.10.0
GetIssue1430 returns Issue1430 and true boolean if Issue143 is Issue1430.
func (Issue143) GetIssue1431 ¶ added in v0.10.0
GetIssue1431 returns Issue1431 and true boolean if Issue143 is Issue1431.
func (Issue143) GetIssue1432 ¶ added in v0.10.0
GetIssue1432 returns Issue1432 and true boolean if Issue143 is Issue1432.
func (Issue143) GetIssue1433 ¶ added in v0.10.0
GetIssue1433 returns Issue1433 and true boolean if Issue143 is Issue1433.
func (Issue143) IsIssue1430 ¶ added in v0.10.0
IsIssue1430 reports whether Issue143 is Issue1430.
func (Issue143) IsIssue1431 ¶ added in v0.10.0
IsIssue1431 reports whether Issue143 is Issue1431.
func (Issue143) IsIssue1432 ¶ added in v0.10.0
IsIssue1432 reports whether Issue143 is Issue1432.
func (Issue143) IsIssue1433 ¶ added in v0.10.0
IsIssue1433 reports whether Issue143 is Issue1433.
func (Issue143) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*Issue143) SetIssue1430 ¶ added in v0.10.0
SetIssue1430 sets Issue143 to Issue1430.
func (*Issue143) SetIssue1431 ¶ added in v0.10.0
SetIssue1431 sets Issue143 to Issue1431.
func (*Issue143) SetIssue1432 ¶ added in v0.10.0
SetIssue1432 sets Issue143 to Issue1432.
func (*Issue143) SetIssue1433 ¶ added in v0.10.0
SetIssue1433 sets Issue143 to Issue1433.
func (*Issue143) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue1430 ¶ added in v0.10.0
type Issue1430 struct { CommonMinus1 string "json:\"common-1\"" CommonMinus2 int "json:\"common-2\"" UniqueMinus1 string "json:\"unique-1\"" }
func (Issue1430) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*Issue1430) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue1431 ¶ added in v0.10.0
type Issue1431 struct { CommonMinus1 string "json:\"common-1\"" CommonMinus2 int "json:\"common-2\"" UniqueMinus2 string "json:\"unique-2\"" }
func (Issue1431) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*Issue1431) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue1432 ¶ added in v0.10.0
type Issue1432 struct { CommonMinus1 string "json:\"common-1\"" CommonMinus2 int "json:\"common-2\"" CommonMinus3 OptInt "json:\"common-3\"" UniqueMinus3 string "json:\"unique-3\"" }
func (Issue1432) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*Issue1432) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue1433 ¶ added in v0.10.0
type Issue1433 struct { CommonMinus3 OptInt "json:\"common-3\"" UniqueMinus4 string "json:\"unique-4\"" }
func (Issue1433) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*Issue1433) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue143Type ¶ added in v0.10.0
type Issue143Type string
Issue143Type is oneOf type of Issue143.
const ( Issue1430Issue143 Issue143Type = "Issue1430" Issue1431Issue143 Issue143Type = "Issue1431" Issue1432Issue143 Issue143Type = "Issue1432" Issue1433Issue143 Issue143Type = "Issue1433" )
Possible values for Issue143Type.
type MapWithProperties ¶ added in v0.9.0
type MapWithProperties struct { Required int "json:\"required\"" Optional OptInt "json:\"optional\"" SubMap OptStringMap "json:\"sub_map\"" InlinedSubMap OptMapWithPropertiesInlinedSubMap "json:\"inlined_sub_map\"" MapValidation OptValidationStringMap "json:\"map_validation\"" AdditionalProps MapWithPropertiesAdditional }
Ref: #/components/schemas/MapWithProperties
func (*MapWithProperties) Decode ¶ added in v0.9.0
func (s *MapWithProperties) Decode(d *jx.Decoder) error
Decode decodes MapWithProperties from json.
func (MapWithProperties) Encode ¶ added in v0.9.0
func (s MapWithProperties) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MapWithProperties) MarshalJSON ¶ added in v0.20.0
func (s MapWithProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MapWithProperties) SetFake ¶ added in v0.19.0
func (s *MapWithProperties) SetFake()
SetFake set fake values.
func (*MapWithProperties) UnmarshalJSON ¶ added in v0.20.0
func (s *MapWithProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (MapWithProperties) Validate ¶ added in v0.12.0
func (s MapWithProperties) Validate() error
type MapWithPropertiesAdditional ¶ added in v0.22.0
func (*MapWithPropertiesAdditional) Decode ¶ added in v0.22.0
func (s *MapWithPropertiesAdditional) Decode(d *jx.Decoder) error
Decode decodes MapWithPropertiesAdditional from json.
func (MapWithPropertiesAdditional) Encode ¶ added in v0.22.0
func (s MapWithPropertiesAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MapWithPropertiesAdditional) MarshalJSON ¶ added in v0.22.0
func (s MapWithPropertiesAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MapWithPropertiesAdditional) SetFake ¶ added in v0.22.0
func (s *MapWithPropertiesAdditional) SetFake()
SetFake set fake values.
func (*MapWithPropertiesAdditional) UnmarshalJSON ¶ added in v0.22.0
func (s *MapWithPropertiesAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MapWithPropertiesInlinedSubMap ¶ added in v0.9.0
func (*MapWithPropertiesInlinedSubMap) Decode ¶ added in v0.9.0
func (s *MapWithPropertiesInlinedSubMap) Decode(d *jx.Decoder) error
Decode decodes MapWithPropertiesInlinedSubMap from json.
func (MapWithPropertiesInlinedSubMap) Encode ¶ added in v0.9.0
func (s MapWithPropertiesInlinedSubMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MapWithPropertiesInlinedSubMap) MarshalJSON ¶ added in v0.20.0
func (s MapWithPropertiesInlinedSubMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MapWithPropertiesInlinedSubMap) SetFake ¶ added in v0.19.0
func (s *MapWithPropertiesInlinedSubMap) SetFake()
SetFake set fake values.
func (*MapWithPropertiesInlinedSubMap) UnmarshalJSON ¶ added in v0.20.0
func (s *MapWithPropertiesInlinedSubMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MaxPropertiesTest ¶ added in v0.12.0
type MaxPropertiesTest struct { Required int "json:\"required\"" OptionalA OptInt "json:\"optional_a\"" OptionalB OptInt "json:\"optional_b\"" OptionalC OptInt "json:\"optional_c\"" }
Ref: #/components/schemas/MaxPropertiesTest
func (*MaxPropertiesTest) Decode ¶ added in v0.12.0
func (s *MaxPropertiesTest) Decode(d *jx.Decoder) error
Decode decodes MaxPropertiesTest from json.
func (MaxPropertiesTest) Encode ¶ added in v0.12.0
func (s MaxPropertiesTest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MaxPropertiesTest) MarshalJSON ¶ added in v0.20.0
func (s MaxPropertiesTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MaxPropertiesTest) SetFake ¶ added in v0.19.0
func (s *MaxPropertiesTest) SetFake()
SetFake set fake values.
func (*MaxPropertiesTest) UnmarshalJSON ¶ added in v0.20.0
func (s *MaxPropertiesTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilInt ¶ added in v0.15.0
NilInt is nullable int.
func (NilInt) Get ¶ added in v0.15.0
Get returns value and boolean that denotes whether value was set.
func (NilInt) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*NilInt) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type NilIntStatusCode ¶ added in v0.15.0
NilIntStatusCode wraps NilInt with StatusCode.
type NilNullableEnumsBoth ¶ added in v0.8.0
type NilNullableEnumsBoth struct { Value NullableEnumsBoth Null bool }
NilNullableEnumsBoth is nullable NullableEnumsBoth.
func NewNilNullableEnumsBoth ¶ added in v0.8.0
func NewNilNullableEnumsBoth(v NullableEnumsBoth) NilNullableEnumsBoth
NewNilNullableEnumsBoth returns new NilNullableEnumsBoth with value set to v.
func (*NilNullableEnumsBoth) Decode ¶ added in v0.8.0
func (o *NilNullableEnumsBoth) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsBoth from json.
func (NilNullableEnumsBoth) Encode ¶ added in v0.8.0
func (o NilNullableEnumsBoth) Encode(e *jx.Encoder)
Encode encodes NullableEnumsBoth as json.
func (NilNullableEnumsBoth) Get ¶ added in v0.8.0
func (o NilNullableEnumsBoth) Get() (v NullableEnumsBoth, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilNullableEnumsBoth) IsNull ¶ added in v0.8.0
func (o NilNullableEnumsBoth) IsNull() bool
IsSet returns true if value is Null.
func (NilNullableEnumsBoth) MarshalJSON ¶ added in v0.20.0
func (s NilNullableEnumsBoth) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilNullableEnumsBoth) Or ¶ added in v0.8.0
func (o NilNullableEnumsBoth) Or(d NullableEnumsBoth) NullableEnumsBoth
Or returns value if set, or given parameter if does not.
func (*NilNullableEnumsBoth) SetFake ¶ added in v0.19.0
func (s *NilNullableEnumsBoth) SetFake()
SetFake set fake values.
func (*NilNullableEnumsBoth) SetTo ¶ added in v0.8.0
func (o *NilNullableEnumsBoth) SetTo(v NullableEnumsBoth)
SetTo sets value to v.
func (*NilNullableEnumsBoth) UnmarshalJSON ¶ added in v0.20.0
func (s *NilNullableEnumsBoth) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilNullableEnumsOnlyNullValue ¶ added in v0.8.0
type NilNullableEnumsOnlyNullValue struct { Value NullableEnumsOnlyNullValue Null bool }
NilNullableEnumsOnlyNullValue is nullable NullableEnumsOnlyNullValue.
func NewNilNullableEnumsOnlyNullValue ¶ added in v0.8.0
func NewNilNullableEnumsOnlyNullValue(v NullableEnumsOnlyNullValue) NilNullableEnumsOnlyNullValue
NewNilNullableEnumsOnlyNullValue returns new NilNullableEnumsOnlyNullValue with value set to v.
func (*NilNullableEnumsOnlyNullValue) Decode ¶ added in v0.8.0
func (o *NilNullableEnumsOnlyNullValue) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsOnlyNullValue from json.
func (NilNullableEnumsOnlyNullValue) Encode ¶ added in v0.8.0
func (o NilNullableEnumsOnlyNullValue) Encode(e *jx.Encoder)
Encode encodes NullableEnumsOnlyNullValue as json.
func (NilNullableEnumsOnlyNullValue) Get ¶ added in v0.8.0
func (o NilNullableEnumsOnlyNullValue) Get() (v NullableEnumsOnlyNullValue, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilNullableEnumsOnlyNullValue) IsNull ¶ added in v0.8.0
func (o NilNullableEnumsOnlyNullValue) IsNull() bool
IsSet returns true if value is Null.
func (NilNullableEnumsOnlyNullValue) MarshalJSON ¶ added in v0.20.0
func (s NilNullableEnumsOnlyNullValue) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilNullableEnumsOnlyNullValue) Or ¶ added in v0.8.0
Or returns value if set, or given parameter if does not.
func (*NilNullableEnumsOnlyNullValue) SetFake ¶ added in v0.19.0
func (s *NilNullableEnumsOnlyNullValue) SetFake()
SetFake set fake values.
func (*NilNullableEnumsOnlyNullValue) SetTo ¶ added in v0.8.0
func (o *NilNullableEnumsOnlyNullValue) SetTo(v NullableEnumsOnlyNullValue)
SetTo sets value to v.
func (*NilNullableEnumsOnlyNullValue) UnmarshalJSON ¶ added in v0.20.0
func (s *NilNullableEnumsOnlyNullValue) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilNullableEnumsOnlyNullable ¶ added in v0.15.0
type NilNullableEnumsOnlyNullable struct { Value NullableEnumsOnlyNullable Null bool }
NilNullableEnumsOnlyNullable is nullable NullableEnumsOnlyNullable.
func NewNilNullableEnumsOnlyNullable ¶ added in v0.15.0
func NewNilNullableEnumsOnlyNullable(v NullableEnumsOnlyNullable) NilNullableEnumsOnlyNullable
NewNilNullableEnumsOnlyNullable returns new NilNullableEnumsOnlyNullable with value set to v.
func (*NilNullableEnumsOnlyNullable) Decode ¶ added in v0.15.0
func (o *NilNullableEnumsOnlyNullable) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsOnlyNullable from json.
func (NilNullableEnumsOnlyNullable) Encode ¶ added in v0.15.0
func (o NilNullableEnumsOnlyNullable) Encode(e *jx.Encoder)
Encode encodes NullableEnumsOnlyNullable as json.
func (NilNullableEnumsOnlyNullable) Get ¶ added in v0.15.0
func (o NilNullableEnumsOnlyNullable) Get() (v NullableEnumsOnlyNullable, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilNullableEnumsOnlyNullable) IsNull ¶ added in v0.15.0
func (o NilNullableEnumsOnlyNullable) IsNull() bool
IsSet returns true if value is Null.
func (NilNullableEnumsOnlyNullable) MarshalJSON ¶ added in v0.20.0
func (s NilNullableEnumsOnlyNullable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilNullableEnumsOnlyNullable) Or ¶ added in v0.15.0
Or returns value if set, or given parameter if does not.
func (*NilNullableEnumsOnlyNullable) SetFake ¶ added in v0.19.0
func (s *NilNullableEnumsOnlyNullable) SetFake()
SetFake set fake values.
func (*NilNullableEnumsOnlyNullable) SetTo ¶ added in v0.15.0
func (o *NilNullableEnumsOnlyNullable) SetTo(v NullableEnumsOnlyNullable)
SetTo sets value to v.
func (*NilNullableEnumsOnlyNullable) UnmarshalJSON ¶ added in v0.20.0
func (s *NilNullableEnumsOnlyNullable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilString ¶
NilString is nullable string.
func NewNilString ¶
NewNilString returns new NilString with value set to v.
func (NilString) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*NilString) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type NullValue ¶ added in v0.25.0
type NullValue struct{}
func (NullValue) MarshalJSON ¶ added in v0.25.0
MarshalJSON implements stdjson.Marshaler.
func (*NullValue) UnmarshalJSON ¶ added in v0.25.0
UnmarshalJSON implements stdjson.Unmarshaler.
type NullableEnums ¶ added in v0.8.0
type NullableEnums struct { // Must not be nullable. OnlyNullable NilNullableEnumsOnlyNullable "json:\"only_nullable\"" // Must be nullable. OnlyNullValue NilNullableEnumsOnlyNullValue "json:\"only_null_value\"" // Must be nullable. Both NilNullableEnumsBoth "json:\"both\"" }
Ref: #/components/schemas/NullableEnums
func (*NullableEnums) Decode ¶ added in v0.8.0
func (s *NullableEnums) Decode(d *jx.Decoder) error
Decode decodes NullableEnums from json.
func (NullableEnums) Encode ¶ added in v0.8.0
func (s NullableEnums) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (NullableEnums) MarshalJSON ¶ added in v0.20.0
func (s NullableEnums) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NullableEnums) SetFake ¶ added in v0.19.0
func (s *NullableEnums) SetFake()
SetFake set fake values.
func (*NullableEnums) UnmarshalJSON ¶ added in v0.20.0
func (s *NullableEnums) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (NullableEnums) Validate ¶ added in v0.8.0
func (s NullableEnums) Validate() error
type NullableEnumsBoth ¶ added in v0.8.0
type NullableEnumsBoth string
Must be nullable.
const ( NullableEnumsBothAsc NullableEnumsBoth = "asc" NullableEnumsBothDesc NullableEnumsBoth = "desc" )
func (*NullableEnumsBoth) Decode ¶ added in v0.8.0
func (s *NullableEnumsBoth) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsBoth from json.
func (NullableEnumsBoth) Encode ¶ added in v0.8.0
func (s NullableEnumsBoth) Encode(e *jx.Encoder)
Encode encodes NullableEnumsBoth as json.
func (NullableEnumsBoth) MarshalJSON ¶ added in v0.20.0
func (s NullableEnumsBoth) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NullableEnumsBoth) SetFake ¶ added in v0.19.0
func (s *NullableEnumsBoth) SetFake()
SetFake set fake values.
func (*NullableEnumsBoth) UnmarshalJSON ¶ added in v0.20.0
func (s *NullableEnumsBoth) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (NullableEnumsBoth) Validate ¶ added in v0.8.0
func (s NullableEnumsBoth) Validate() error
type NullableEnumsOnlyNullValue ¶ added in v0.8.0
type NullableEnumsOnlyNullValue string
Must be nullable.
const ( NullableEnumsOnlyNullValueAsc NullableEnumsOnlyNullValue = "asc" NullableEnumsOnlyNullValueDesc NullableEnumsOnlyNullValue = "desc" )
func (*NullableEnumsOnlyNullValue) Decode ¶ added in v0.8.0
func (s *NullableEnumsOnlyNullValue) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsOnlyNullValue from json.
func (NullableEnumsOnlyNullValue) Encode ¶ added in v0.8.0
func (s NullableEnumsOnlyNullValue) Encode(e *jx.Encoder)
Encode encodes NullableEnumsOnlyNullValue as json.
func (NullableEnumsOnlyNullValue) MarshalJSON ¶ added in v0.20.0
func (s NullableEnumsOnlyNullValue) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NullableEnumsOnlyNullValue) SetFake ¶ added in v0.19.0
func (s *NullableEnumsOnlyNullValue) SetFake()
SetFake set fake values.
func (*NullableEnumsOnlyNullValue) UnmarshalJSON ¶ added in v0.20.0
func (s *NullableEnumsOnlyNullValue) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (NullableEnumsOnlyNullValue) Validate ¶ added in v0.8.0
func (s NullableEnumsOnlyNullValue) Validate() error
type NullableEnumsOnlyNullable ¶ added in v0.8.0
type NullableEnumsOnlyNullable string
Must not be nullable.
const ( NullableEnumsOnlyNullableAsc NullableEnumsOnlyNullable = "asc" NullableEnumsOnlyNullableDesc NullableEnumsOnlyNullable = "desc" )
func (*NullableEnumsOnlyNullable) Decode ¶ added in v0.8.0
func (s *NullableEnumsOnlyNullable) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsOnlyNullable from json.
func (NullableEnumsOnlyNullable) Encode ¶ added in v0.8.0
func (s NullableEnumsOnlyNullable) Encode(e *jx.Encoder)
Encode encodes NullableEnumsOnlyNullable as json.
func (NullableEnumsOnlyNullable) MarshalJSON ¶ added in v0.20.0
func (s NullableEnumsOnlyNullable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NullableEnumsOnlyNullable) SetFake ¶ added in v0.19.0
func (s *NullableEnumsOnlyNullable) SetFake()
SetFake set fake values.
func (*NullableEnumsOnlyNullable) UnmarshalJSON ¶ added in v0.20.0
func (s *NullableEnumsOnlyNullable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (NullableEnumsOnlyNullable) Validate ¶ added in v0.8.0
func (s NullableEnumsOnlyNullable) Validate() error
type OneOfBugs ¶ added in v0.10.0
type OneOfBugs struct { Issue143 Issue143 "json:\"issue143\"" AdditionalMinusFields OneVariantHasNoUniqueFields "json:\"additional-fields\"" OneOfMinusUUIDMinusIntMinusEnum OptOneOfUUIDAndIntEnum "json:\"oneOf-uuid-int-enum\"" OneOfMinusMappingMinusReference OptOneOfMappingReference "json:\"oneOf-mapping-reference\"" }
Ref: #/components/schemas/OneOfBugs
func (OneOfBugs) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OneOfBugs) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OneOfMappingReference ¶ added in v0.16.0
type OneOfMappingReference struct { Type OneOfMappingReferenceType // switch on this field OneOfMappingReferenceA OneOfMappingReferenceA OneOfMappingReferenceB OneOfMappingReferenceB }
Ref: #/components/schemas/OneOfMappingReference OneOfMappingReference represents sum type.
func NewOneOfMappingReferenceAOneOfMappingReference ¶ added in v0.16.0
func NewOneOfMappingReferenceAOneOfMappingReference(v OneOfMappingReferenceA) OneOfMappingReference
NewOneOfMappingReferenceAOneOfMappingReference returns new OneOfMappingReference from OneOfMappingReferenceA.
func NewOneOfMappingReferenceBOneOfMappingReference ¶ added in v0.16.0
func NewOneOfMappingReferenceBOneOfMappingReference(v OneOfMappingReferenceB) OneOfMappingReference
NewOneOfMappingReferenceBOneOfMappingReference returns new OneOfMappingReference from OneOfMappingReferenceB.
func (*OneOfMappingReference) Decode ¶ added in v0.16.0
func (s *OneOfMappingReference) Decode(d *jx.Decoder) error
Decode decodes OneOfMappingReference from json.
func (OneOfMappingReference) Encode ¶ added in v0.16.0
func (s OneOfMappingReference) Encode(e *jx.Encoder)
Encode encodes OneOfMappingReference as json.
func (OneOfMappingReference) GetOneOfMappingReferenceA ¶ added in v0.16.0
func (s OneOfMappingReference) GetOneOfMappingReferenceA() (v OneOfMappingReferenceA, ok bool)
GetOneOfMappingReferenceA returns OneOfMappingReferenceA and true boolean if OneOfMappingReference is OneOfMappingReferenceA.
func (OneOfMappingReference) GetOneOfMappingReferenceB ¶ added in v0.16.0
func (s OneOfMappingReference) GetOneOfMappingReferenceB() (v OneOfMappingReferenceB, ok bool)
GetOneOfMappingReferenceB returns OneOfMappingReferenceB and true boolean if OneOfMappingReference is OneOfMappingReferenceB.
func (OneOfMappingReference) IsOneOfMappingReferenceA ¶ added in v0.16.0
func (s OneOfMappingReference) IsOneOfMappingReferenceA() bool
IsOneOfMappingReferenceA reports whether OneOfMappingReference is OneOfMappingReferenceA.
func (OneOfMappingReference) IsOneOfMappingReferenceB ¶ added in v0.16.0
func (s OneOfMappingReference) IsOneOfMappingReferenceB() bool
IsOneOfMappingReferenceB reports whether OneOfMappingReference is OneOfMappingReferenceB.
func (OneOfMappingReference) MarshalJSON ¶ added in v0.20.0
func (s OneOfMappingReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfMappingReference) SetFake ¶ added in v0.19.0
func (s *OneOfMappingReference) SetFake()
SetFake set fake values.
func (*OneOfMappingReference) SetOneOfMappingReferenceA ¶ added in v0.16.0
func (s *OneOfMappingReference) SetOneOfMappingReferenceA(v OneOfMappingReferenceA)
SetOneOfMappingReferenceA sets OneOfMappingReference to OneOfMappingReferenceA.
func (*OneOfMappingReference) SetOneOfMappingReferenceB ¶ added in v0.16.0
func (s *OneOfMappingReference) SetOneOfMappingReferenceB(v OneOfMappingReferenceB)
SetOneOfMappingReferenceB sets OneOfMappingReference to OneOfMappingReferenceB.
func (*OneOfMappingReference) UnmarshalJSON ¶ added in v0.20.0
func (s *OneOfMappingReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneOfMappingReferenceA ¶ added in v0.16.0
type OneOfMappingReferenceA struct {
Description OptString "json:\"description\""
}
Ref: #/components/schemas/OneOfMappingReferenceA
func (*OneOfMappingReferenceA) Decode ¶ added in v0.16.0
func (s *OneOfMappingReferenceA) Decode(d *jx.Decoder) error
Decode decodes OneOfMappingReferenceA from json.
func (OneOfMappingReferenceA) Encode ¶ added in v0.16.0
func (s OneOfMappingReferenceA) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OneOfMappingReferenceA) MarshalJSON ¶ added in v0.20.0
func (s OneOfMappingReferenceA) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfMappingReferenceA) SetFake ¶ added in v0.19.0
func (s *OneOfMappingReferenceA) SetFake()
SetFake set fake values.
func (*OneOfMappingReferenceA) UnmarshalJSON ¶ added in v0.20.0
func (s *OneOfMappingReferenceA) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneOfMappingReferenceB ¶ added in v0.16.0
type OneOfMappingReferenceB struct { Code OptInt32 "json:\"code\"" Data *OneOfMappingReferenceBData "json:\"data\"" Info OptString "json:\"info\"" }
Ref: #/components/schemas/OneOfMappingReferenceB
func (*OneOfMappingReferenceB) Decode ¶ added in v0.16.0
func (s *OneOfMappingReferenceB) Decode(d *jx.Decoder) error
Decode decodes OneOfMappingReferenceB from json.
func (OneOfMappingReferenceB) Encode ¶ added in v0.16.0
func (s OneOfMappingReferenceB) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OneOfMappingReferenceB) MarshalJSON ¶ added in v0.20.0
func (s OneOfMappingReferenceB) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfMappingReferenceB) SetFake ¶ added in v0.19.0
func (s *OneOfMappingReferenceB) SetFake()
SetFake set fake values.
func (*OneOfMappingReferenceB) UnmarshalJSON ¶ added in v0.20.0
func (s *OneOfMappingReferenceB) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneOfMappingReferenceBData ¶ added in v0.16.0
type OneOfMappingReferenceBData struct{}
func (*OneOfMappingReferenceBData) Decode ¶ added in v0.16.0
func (s *OneOfMappingReferenceBData) Decode(d *jx.Decoder) error
Decode decodes OneOfMappingReferenceBData from json.
func (OneOfMappingReferenceBData) Encode ¶ added in v0.16.0
func (s OneOfMappingReferenceBData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OneOfMappingReferenceBData) MarshalJSON ¶ added in v0.20.0
func (s OneOfMappingReferenceBData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfMappingReferenceBData) SetFake ¶ added in v0.19.0
func (s *OneOfMappingReferenceBData) SetFake()
SetFake set fake values.
func (*OneOfMappingReferenceBData) UnmarshalJSON ¶ added in v0.20.0
func (s *OneOfMappingReferenceBData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneOfMappingReferenceType ¶ added in v0.16.0
type OneOfMappingReferenceType string
OneOfMappingReferenceType is oneOf type of OneOfMappingReference.
const ( OneOfMappingReferenceAOneOfMappingReference OneOfMappingReferenceType = "OneOfMappingReferenceA" OneOfMappingReferenceBOneOfMappingReference OneOfMappingReferenceType = "OneOfMappingReferenceB" )
Possible values for OneOfMappingReferenceType.
type OneOfUUIDAndIntEnum ¶ added in v0.16.0
type OneOfUUIDAndIntEnum struct { Type OneOfUUIDAndIntEnumType // switch on this field UUID uuid.UUID OneOfUUIDAndIntEnum1 OneOfUUIDAndIntEnum1 }
Ref: #/components/schemas/OneOfUUIDAndIntEnum OneOfUUIDAndIntEnum represents sum type.
func NewOneOfUUIDAndIntEnum1OneOfUUIDAndIntEnum ¶ added in v0.16.0
func NewOneOfUUIDAndIntEnum1OneOfUUIDAndIntEnum(v OneOfUUIDAndIntEnum1) OneOfUUIDAndIntEnum
NewOneOfUUIDAndIntEnum1OneOfUUIDAndIntEnum returns new OneOfUUIDAndIntEnum from OneOfUUIDAndIntEnum1.
func NewUUIDOneOfUUIDAndIntEnum ¶ added in v0.16.0
func NewUUIDOneOfUUIDAndIntEnum(v uuid.UUID) OneOfUUIDAndIntEnum
NewUUIDOneOfUUIDAndIntEnum returns new OneOfUUIDAndIntEnum from uuid.UUID.
func (*OneOfUUIDAndIntEnum) Decode ¶ added in v0.16.0
func (s *OneOfUUIDAndIntEnum) Decode(d *jx.Decoder) error
Decode decodes OneOfUUIDAndIntEnum from json.
func (OneOfUUIDAndIntEnum) Encode ¶ added in v0.16.0
func (s OneOfUUIDAndIntEnum) Encode(e *jx.Encoder)
Encode encodes OneOfUUIDAndIntEnum as json.
func (OneOfUUIDAndIntEnum) GetOneOfUUIDAndIntEnum1 ¶ added in v0.16.0
func (s OneOfUUIDAndIntEnum) GetOneOfUUIDAndIntEnum1() (v OneOfUUIDAndIntEnum1, ok bool)
GetOneOfUUIDAndIntEnum1 returns OneOfUUIDAndIntEnum1 and true boolean if OneOfUUIDAndIntEnum is OneOfUUIDAndIntEnum1.
func (OneOfUUIDAndIntEnum) GetUUID ¶ added in v0.16.0
func (s OneOfUUIDAndIntEnum) GetUUID() (v uuid.UUID, ok bool)
GetUUID returns uuid.UUID and true boolean if OneOfUUIDAndIntEnum is uuid.UUID.
func (OneOfUUIDAndIntEnum) IsOneOfUUIDAndIntEnum1 ¶ added in v0.16.0
func (s OneOfUUIDAndIntEnum) IsOneOfUUIDAndIntEnum1() bool
IsOneOfUUIDAndIntEnum1 reports whether OneOfUUIDAndIntEnum is OneOfUUIDAndIntEnum1.
func (OneOfUUIDAndIntEnum) IsUUID ¶ added in v0.16.0
func (s OneOfUUIDAndIntEnum) IsUUID() bool
IsUUID reports whether OneOfUUIDAndIntEnum is uuid.UUID.
func (OneOfUUIDAndIntEnum) MarshalJSON ¶ added in v0.20.0
func (s OneOfUUIDAndIntEnum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfUUIDAndIntEnum) SetFake ¶ added in v0.19.0
func (s *OneOfUUIDAndIntEnum) SetFake()
SetFake set fake values.
func (*OneOfUUIDAndIntEnum) SetOneOfUUIDAndIntEnum1 ¶ added in v0.16.0
func (s *OneOfUUIDAndIntEnum) SetOneOfUUIDAndIntEnum1(v OneOfUUIDAndIntEnum1)
SetOneOfUUIDAndIntEnum1 sets OneOfUUIDAndIntEnum to OneOfUUIDAndIntEnum1.
func (*OneOfUUIDAndIntEnum) SetUUID ¶ added in v0.16.0
func (s *OneOfUUIDAndIntEnum) SetUUID(v uuid.UUID)
SetUUID sets OneOfUUIDAndIntEnum to uuid.UUID.
func (*OneOfUUIDAndIntEnum) UnmarshalJSON ¶ added in v0.20.0
func (s *OneOfUUIDAndIntEnum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (OneOfUUIDAndIntEnum) Validate ¶ added in v0.16.0
func (s OneOfUUIDAndIntEnum) Validate() error
type OneOfUUIDAndIntEnum1 ¶ added in v0.16.0
type OneOfUUIDAndIntEnum1 int
const ( OneOfUUIDAndIntEnum10 OneOfUUIDAndIntEnum1 = 0 OneOfUUIDAndIntEnum11 OneOfUUIDAndIntEnum1 = 1 )
func (*OneOfUUIDAndIntEnum1) Decode ¶ added in v0.16.0
func (s *OneOfUUIDAndIntEnum1) Decode(d *jx.Decoder) error
Decode decodes OneOfUUIDAndIntEnum1 from json.
func (OneOfUUIDAndIntEnum1) Encode ¶ added in v0.16.0
func (s OneOfUUIDAndIntEnum1) Encode(e *jx.Encoder)
Encode encodes OneOfUUIDAndIntEnum1 as json.
func (OneOfUUIDAndIntEnum1) MarshalJSON ¶ added in v0.20.0
func (s OneOfUUIDAndIntEnum1) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfUUIDAndIntEnum1) SetFake ¶ added in v0.19.0
func (s *OneOfUUIDAndIntEnum1) SetFake()
SetFake set fake values.
func (*OneOfUUIDAndIntEnum1) UnmarshalJSON ¶ added in v0.20.0
func (s *OneOfUUIDAndIntEnum1) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (OneOfUUIDAndIntEnum1) Validate ¶ added in v0.16.0
func (s OneOfUUIDAndIntEnum1) Validate() error
type OneOfUUIDAndIntEnumType ¶ added in v0.16.0
type OneOfUUIDAndIntEnumType string
OneOfUUIDAndIntEnumType is oneOf type of OneOfUUIDAndIntEnum.
const ( UUIDOneOfUUIDAndIntEnum OneOfUUIDAndIntEnumType = "uuid.UUID" OneOfUUIDAndIntEnum1OneOfUUIDAndIntEnum OneOfUUIDAndIntEnumType = "OneOfUUIDAndIntEnum1" )
Possible values for OneOfUUIDAndIntEnumType.
type OneVariantHasNoUniqueFields ¶ added in v0.10.0
type OneVariantHasNoUniqueFields struct { Type OneVariantHasNoUniqueFieldsType // switch on this field OneVariantHasNoUniqueFields0 OneVariantHasNoUniqueFields0 OneVariantHasNoUniqueFields1 OneVariantHasNoUniqueFields1 }
Ref: #/components/schemas/OneVariantHasNoUniqueFields OneVariantHasNoUniqueFields represents sum type.
func NewOneVariantHasNoUniqueFields0OneVariantHasNoUniqueFields ¶ added in v0.10.0
func NewOneVariantHasNoUniqueFields0OneVariantHasNoUniqueFields(v OneVariantHasNoUniqueFields0) OneVariantHasNoUniqueFields
NewOneVariantHasNoUniqueFields0OneVariantHasNoUniqueFields returns new OneVariantHasNoUniqueFields from OneVariantHasNoUniqueFields0.
func NewOneVariantHasNoUniqueFields1OneVariantHasNoUniqueFields ¶ added in v0.10.0
func NewOneVariantHasNoUniqueFields1OneVariantHasNoUniqueFields(v OneVariantHasNoUniqueFields1) OneVariantHasNoUniqueFields
NewOneVariantHasNoUniqueFields1OneVariantHasNoUniqueFields returns new OneVariantHasNoUniqueFields from OneVariantHasNoUniqueFields1.
func (*OneVariantHasNoUniqueFields) Decode ¶ added in v0.10.0
func (s *OneVariantHasNoUniqueFields) Decode(d *jx.Decoder) error
Decode decodes OneVariantHasNoUniqueFields from json.
func (OneVariantHasNoUniqueFields) Encode ¶ added in v0.10.0
func (s OneVariantHasNoUniqueFields) Encode(e *jx.Encoder)
Encode encodes OneVariantHasNoUniqueFields as json.
func (OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields0 ¶ added in v0.10.0
func (s OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields0() (v OneVariantHasNoUniqueFields0, ok bool)
GetOneVariantHasNoUniqueFields0 returns OneVariantHasNoUniqueFields0 and true boolean if OneVariantHasNoUniqueFields is OneVariantHasNoUniqueFields0.
func (OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields1 ¶ added in v0.10.0
func (s OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields1() (v OneVariantHasNoUniqueFields1, ok bool)
GetOneVariantHasNoUniqueFields1 returns OneVariantHasNoUniqueFields1 and true boolean if OneVariantHasNoUniqueFields is OneVariantHasNoUniqueFields1.
func (OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields0 ¶ added in v0.10.0
func (s OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields0() bool
IsOneVariantHasNoUniqueFields0 reports whether OneVariantHasNoUniqueFields is OneVariantHasNoUniqueFields0.
func (OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields1 ¶ added in v0.10.0
func (s OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields1() bool
IsOneVariantHasNoUniqueFields1 reports whether OneVariantHasNoUniqueFields is OneVariantHasNoUniqueFields1.
func (OneVariantHasNoUniqueFields) MarshalJSON ¶ added in v0.20.0
func (s OneVariantHasNoUniqueFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneVariantHasNoUniqueFields) SetFake ¶ added in v0.19.0
func (s *OneVariantHasNoUniqueFields) SetFake()
SetFake set fake values.
func (*OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields0 ¶ added in v0.10.0
func (s *OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields0(v OneVariantHasNoUniqueFields0)
SetOneVariantHasNoUniqueFields0 sets OneVariantHasNoUniqueFields to OneVariantHasNoUniqueFields0.
func (*OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields1 ¶ added in v0.10.0
func (s *OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields1(v OneVariantHasNoUniqueFields1)
SetOneVariantHasNoUniqueFields1 sets OneVariantHasNoUniqueFields to OneVariantHasNoUniqueFields1.
func (*OneVariantHasNoUniqueFields) UnmarshalJSON ¶ added in v0.20.0
func (s *OneVariantHasNoUniqueFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneVariantHasNoUniqueFields0 ¶ added in v0.10.0
type OneVariantHasNoUniqueFields0 struct { A string "json:\"a\"" B OptInt "json:\"b\"" C string "json:\"c\"" }
func (*OneVariantHasNoUniqueFields0) Decode ¶ added in v0.10.0
func (s *OneVariantHasNoUniqueFields0) Decode(d *jx.Decoder) error
Decode decodes OneVariantHasNoUniqueFields0 from json.
func (OneVariantHasNoUniqueFields0) Encode ¶ added in v0.10.0
func (s OneVariantHasNoUniqueFields0) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OneVariantHasNoUniqueFields0) MarshalJSON ¶ added in v0.20.0
func (s OneVariantHasNoUniqueFields0) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneVariantHasNoUniqueFields0) SetFake ¶ added in v0.19.0
func (s *OneVariantHasNoUniqueFields0) SetFake()
SetFake set fake values.
func (*OneVariantHasNoUniqueFields0) UnmarshalJSON ¶ added in v0.20.0
func (s *OneVariantHasNoUniqueFields0) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneVariantHasNoUniqueFields1 ¶ added in v0.10.0
type OneVariantHasNoUniqueFields1 struct { A string "json:\"a\"" B OptInt "json:\"b\"" C string "json:\"c\"" D OptInt "json:\"d\"" }
func (*OneVariantHasNoUniqueFields1) Decode ¶ added in v0.10.0
func (s *OneVariantHasNoUniqueFields1) Decode(d *jx.Decoder) error
Decode decodes OneVariantHasNoUniqueFields1 from json.
func (OneVariantHasNoUniqueFields1) Encode ¶ added in v0.10.0
func (s OneVariantHasNoUniqueFields1) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OneVariantHasNoUniqueFields1) MarshalJSON ¶ added in v0.20.0
func (s OneVariantHasNoUniqueFields1) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneVariantHasNoUniqueFields1) SetFake ¶ added in v0.19.0
func (s *OneVariantHasNoUniqueFields1) SetFake()
SetFake set fake values.
func (*OneVariantHasNoUniqueFields1) UnmarshalJSON ¶ added in v0.20.0
func (s *OneVariantHasNoUniqueFields1) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneVariantHasNoUniqueFieldsType ¶ added in v0.10.0
type OneVariantHasNoUniqueFieldsType string
OneVariantHasNoUniqueFieldsType is oneOf type of OneVariantHasNoUniqueFields.
const ( OneVariantHasNoUniqueFields0OneVariantHasNoUniqueFields OneVariantHasNoUniqueFieldsType = "OneVariantHasNoUniqueFields0" OneVariantHasNoUniqueFields1OneVariantHasNoUniqueFields OneVariantHasNoUniqueFieldsType = "OneVariantHasNoUniqueFields1" )
Possible values for OneVariantHasNoUniqueFieldsType.
type OneofBugOK ¶ added in v0.10.0
type OneofBugOK struct{}
OneofBugOK is response for OneofBug operation.
type OptAnyOfTest ¶ added in v0.12.0
OptAnyOfTest is optional AnyOfTest.
func NewOptAnyOfTest ¶ added in v0.12.0
func NewOptAnyOfTest(v AnyOfTest) OptAnyOfTest
NewOptAnyOfTest returns new OptAnyOfTest with value set to v.
func (*OptAnyOfTest) Decode ¶ added in v0.12.0
func (o *OptAnyOfTest) Decode(d *jx.Decoder) error
Decode decodes AnyOfTest from json.
func (OptAnyOfTest) Encode ¶ added in v0.12.0
func (o OptAnyOfTest) Encode(e *jx.Encoder)
Encode encodes AnyOfTest as json.
func (OptAnyOfTest) Get ¶ added in v0.12.0
func (o OptAnyOfTest) Get() (v AnyOfTest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAnyOfTest) IsSet ¶ added in v0.12.0
func (o OptAnyOfTest) IsSet() bool
IsSet returns true if OptAnyOfTest was set.
func (OptAnyOfTest) MarshalJSON ¶ added in v0.20.0
func (s OptAnyOfTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAnyOfTest) Or ¶ added in v0.12.0
func (o OptAnyOfTest) Or(d AnyOfTest) AnyOfTest
Or returns value if set, or given parameter if does not.
func (*OptAnyOfTest) SetFake ¶ added in v0.19.0
func (s *OptAnyOfTest) SetFake()
SetFake set fake values.
func (*OptAnyOfTest) SetTo ¶ added in v0.12.0
func (o *OptAnyOfTest) SetTo(v AnyOfTest)
SetTo sets value to v.
func (*OptAnyOfTest) UnmarshalJSON ¶ added in v0.20.0
func (s *OptAnyOfTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAnyTest ¶ added in v0.11.0
OptAnyTest is optional AnyTest.
func NewOptAnyTest ¶ added in v0.11.0
func NewOptAnyTest(v AnyTest) OptAnyTest
NewOptAnyTest returns new OptAnyTest with value set to v.
func (*OptAnyTest) Decode ¶ added in v0.11.0
func (o *OptAnyTest) Decode(d *jx.Decoder) error
Decode decodes AnyTest from json.
func (OptAnyTest) Encode ¶ added in v0.11.0
func (o OptAnyTest) Encode(e *jx.Encoder)
Encode encodes AnyTest as json.
func (OptAnyTest) Get ¶ added in v0.11.0
func (o OptAnyTest) Get() (v AnyTest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAnyTest) IsSet ¶ added in v0.11.0
func (o OptAnyTest) IsSet() bool
IsSet returns true if OptAnyTest was set.
func (OptAnyTest) MarshalJSON ¶ added in v0.20.0
func (s OptAnyTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAnyTest) Or ¶ added in v0.11.0
func (o OptAnyTest) Or(d AnyTest) AnyTest
Or returns value if set, or given parameter if does not.
func (*OptAnyTest) SetFake ¶ added in v0.19.0
func (s *OptAnyTest) SetFake()
SetFake set fake values.
func (*OptAnyTest) SetTo ¶ added in v0.11.0
func (o *OptAnyTest) SetTo(v AnyTest)
SetTo sets value to v.
func (*OptAnyTest) UnmarshalJSON ¶ added in v0.20.0
func (s *OptAnyTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAnyTestAnyMap ¶ added in v0.11.0
type OptAnyTestAnyMap struct { Value AnyTestAnyMap Set bool }
OptAnyTestAnyMap is optional AnyTestAnyMap.
func NewOptAnyTestAnyMap ¶ added in v0.11.0
func NewOptAnyTestAnyMap(v AnyTestAnyMap) OptAnyTestAnyMap
NewOptAnyTestAnyMap returns new OptAnyTestAnyMap with value set to v.
func (*OptAnyTestAnyMap) Decode ¶ added in v0.11.0
func (o *OptAnyTestAnyMap) Decode(d *jx.Decoder) error
Decode decodes AnyTestAnyMap from json.
func (OptAnyTestAnyMap) Encode ¶ added in v0.11.0
func (o OptAnyTestAnyMap) Encode(e *jx.Encoder)
Encode encodes AnyTestAnyMap as json.
func (OptAnyTestAnyMap) Get ¶ added in v0.11.0
func (o OptAnyTestAnyMap) Get() (v AnyTestAnyMap, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAnyTestAnyMap) IsSet ¶ added in v0.11.0
func (o OptAnyTestAnyMap) IsSet() bool
IsSet returns true if OptAnyTestAnyMap was set.
func (OptAnyTestAnyMap) MarshalJSON ¶ added in v0.20.0
func (s OptAnyTestAnyMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAnyTestAnyMap) Or ¶ added in v0.11.0
func (o OptAnyTestAnyMap) Or(d AnyTestAnyMap) AnyTestAnyMap
Or returns value if set, or given parameter if does not.
func (*OptAnyTestAnyMap) Reset ¶ added in v0.11.0
func (o *OptAnyTestAnyMap) Reset()
Reset unsets value.
func (*OptAnyTestAnyMap) SetFake ¶ added in v0.19.0
func (s *OptAnyTestAnyMap) SetFake()
SetFake set fake values.
func (*OptAnyTestAnyMap) SetTo ¶ added in v0.11.0
func (o *OptAnyTestAnyMap) SetTo(v AnyTestAnyMap)
SetTo sets value to v.
func (*OptAnyTestAnyMap) UnmarshalJSON ¶ added in v0.20.0
func (s *OptAnyTestAnyMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptArrayTest ¶ added in v0.9.0
OptArrayTest is optional ArrayTest.
func NewOptArrayTest ¶ added in v0.9.0
func NewOptArrayTest(v ArrayTest) OptArrayTest
NewOptArrayTest returns new OptArrayTest with value set to v.
func (*OptArrayTest) Decode ¶ added in v0.9.0
func (o *OptArrayTest) Decode(d *jx.Decoder) error
Decode decodes ArrayTest from json.
func (OptArrayTest) Encode ¶ added in v0.9.0
func (o OptArrayTest) Encode(e *jx.Encoder)
Encode encodes ArrayTest as json.
func (OptArrayTest) Get ¶ added in v0.9.0
func (o OptArrayTest) Get() (v ArrayTest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptArrayTest) IsSet ¶ added in v0.9.0
func (o OptArrayTest) IsSet() bool
IsSet returns true if OptArrayTest was set.
func (OptArrayTest) MarshalJSON ¶ added in v0.20.0
func (s OptArrayTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptArrayTest) Or ¶ added in v0.9.0
func (o OptArrayTest) Or(d ArrayTest) ArrayTest
Or returns value if set, or given parameter if does not.
func (*OptArrayTest) SetFake ¶ added in v0.19.0
func (s *OptArrayTest) SetFake()
SetFake set fake values.
func (*OptArrayTest) SetTo ¶ added in v0.9.0
func (o *OptArrayTest) SetTo(v ArrayTest)
SetTo sets value to v.
func (*OptArrayTest) UnmarshalJSON ¶ added in v0.20.0
func (s *OptArrayTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptData ¶
OptData is optional Data.
func NewOptData ¶
NewOptData returns new OptData with value set to v.
func (OptData) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptData) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDate ¶ added in v0.15.0
OptDate is optional time.Time.
func NewOptDate ¶ added in v0.15.0
NewOptDate returns new OptDate with value set to v.
func (OptDate) Get ¶ added in v0.15.0
Get returns value and boolean that denotes whether value was set.
func (OptDate) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptDate) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDateTime ¶ added in v0.15.0
OptDateTime is optional time.Time.
func NewOptDateTime ¶ added in v0.15.0
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
func (OptDateTime) Get ¶ added in v0.15.0
func (o OptDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDateTime) IsSet ¶ added in v0.15.0
func (o OptDateTime) IsSet() bool
IsSet returns true if OptDateTime was set.
func (OptDateTime) MarshalJSON ¶ added in v0.20.0
func (s OptDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDateTime) Or ¶ added in v0.15.0
func (o OptDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptDateTime) SetFake ¶ added in v0.19.0
func (s *OptDateTime) SetFake()
SetFake set fake values.
func (*OptDateTime) SetTo ¶ added in v0.15.0
func (o *OptDateTime) SetTo(v time.Time)
SetTo sets value to v.
func (*OptDateTime) UnmarshalJSON ¶ added in v0.20.0
func (s *OptDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDefaultTestEnum ¶ added in v0.15.0
type OptDefaultTestEnum struct { Value DefaultTestEnum Set bool }
OptDefaultTestEnum is optional DefaultTestEnum.
func NewOptDefaultTestEnum ¶ added in v0.15.0
func NewOptDefaultTestEnum(v DefaultTestEnum) OptDefaultTestEnum
NewOptDefaultTestEnum returns new OptDefaultTestEnum with value set to v.
func (*OptDefaultTestEnum) Decode ¶ added in v0.15.0
func (o *OptDefaultTestEnum) Decode(d *jx.Decoder) error
Decode decodes DefaultTestEnum from json.
func (OptDefaultTestEnum) Encode ¶ added in v0.15.0
func (o OptDefaultTestEnum) Encode(e *jx.Encoder)
Encode encodes DefaultTestEnum as json.
func (OptDefaultTestEnum) Get ¶ added in v0.15.0
func (o OptDefaultTestEnum) Get() (v DefaultTestEnum, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDefaultTestEnum) IsSet ¶ added in v0.15.0
func (o OptDefaultTestEnum) IsSet() bool
IsSet returns true if OptDefaultTestEnum was set.
func (OptDefaultTestEnum) MarshalJSON ¶ added in v0.20.0
func (s OptDefaultTestEnum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDefaultTestEnum) Or ¶ added in v0.15.0
func (o OptDefaultTestEnum) Or(d DefaultTestEnum) DefaultTestEnum
Or returns value if set, or given parameter if does not.
func (*OptDefaultTestEnum) Reset ¶ added in v0.15.0
func (o *OptDefaultTestEnum) Reset()
Reset unsets value.
func (*OptDefaultTestEnum) SetFake ¶ added in v0.19.0
func (s *OptDefaultTestEnum) SetFake()
SetFake set fake values.
func (*OptDefaultTestEnum) SetTo ¶ added in v0.15.0
func (o *OptDefaultTestEnum) SetTo(v DefaultTestEnum)
SetTo sets value to v.
func (*OptDefaultTestEnum) UnmarshalJSON ¶ added in v0.20.0
func (s *OptDefaultTestEnum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDuration ¶
OptDuration is optional time.Duration.
func NewOptDuration ¶
func NewOptDuration(v time.Duration) OptDuration
NewOptDuration returns new OptDuration with value set to v.
func (*OptDuration) Decode ¶
func (o *OptDuration) Decode(d *jx.Decoder) error
Decode decodes time.Duration from json.
func (OptDuration) Encode ¶
func (o OptDuration) Encode(e *jx.Encoder)
Encode encodes time.Duration as json.
func (OptDuration) Get ¶
func (o OptDuration) Get() (v time.Duration, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDuration) IsSet ¶
func (o OptDuration) IsSet() bool
IsSet returns true if OptDuration was set.
func (OptDuration) MarshalJSON ¶ added in v0.20.0
func (s OptDuration) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDuration) Or ¶ added in v0.4.0
func (o OptDuration) Or(d time.Duration) time.Duration
Or returns value if set, or given parameter if does not.
func (*OptDuration) SetFake ¶ added in v0.19.0
func (s *OptDuration) SetFake()
SetFake set fake values.
func (*OptDuration) UnmarshalJSON ¶ added in v0.20.0
func (s *OptDuration) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFloat64 ¶
OptFloat64 is optional float64.
func NewOptFloat64 ¶
func NewOptFloat64(v float64) OptFloat64
NewOptFloat64 returns new OptFloat64 with value set to v.
func (*OptFloat64) Decode ¶
func (o *OptFloat64) Decode(d *jx.Decoder) error
Decode decodes float64 from json.
func (OptFloat64) Encode ¶
func (o OptFloat64) Encode(e *jx.Encoder)
Encode encodes float64 as json.
func (OptFloat64) Get ¶
func (o OptFloat64) Get() (v float64, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFloat64) IsSet ¶
func (o OptFloat64) IsSet() bool
IsSet returns true if OptFloat64 was set.
func (OptFloat64) MarshalJSON ¶ added in v0.20.0
func (s OptFloat64) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFloat64) Or ¶ added in v0.4.0
func (o OptFloat64) Or(d float64) float64
Or returns value if set, or given parameter if does not.
func (*OptFloat64) SetFake ¶ added in v0.19.0
func (s *OptFloat64) SetFake()
SetFake set fake values.
func (*OptFloat64) UnmarshalJSON ¶ added in v0.20.0
func (s *OptFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptID ¶ added in v0.7.0
OptID is optional ID.
func (OptID) Get ¶ added in v0.7.0
Get returns value and boolean that denotes whether value was set.
func (OptID) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptID) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptIP ¶ added in v0.15.0
OptIP is optional netip.Addr.
func (OptIP) Get ¶ added in v0.15.0
Get returns value and boolean that denotes whether value was set.
func (OptIP) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptIP) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptIPv4 ¶ added in v0.15.0
OptIPv4 is optional netip.Addr.
func NewOptIPv4 ¶ added in v0.15.0
NewOptIPv4 returns new OptIPv4 with value set to v.
func (OptIPv4) Get ¶ added in v0.15.0
Get returns value and boolean that denotes whether value was set.
func (OptIPv4) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptIPv4) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptIPv6 ¶ added in v0.15.0
OptIPv6 is optional netip.Addr.
func NewOptIPv6 ¶ added in v0.15.0
NewOptIPv6 returns new OptIPv6 with value set to v.
func (OptIPv6) Get ¶ added in v0.15.0
Get returns value and boolean that denotes whether value was set.
func (OptIPv6) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptIPv6) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt32 ¶ added in v0.15.0
OptInt32 is optional int32.
func NewOptInt32 ¶ added in v0.15.0
NewOptInt32 returns new OptInt32 with value set to v.
func (OptInt32) Get ¶ added in v0.15.0
Get returns value and boolean that denotes whether value was set.
func (OptInt32) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptInt32) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMapWithProperties ¶ added in v0.9.0
type OptMapWithProperties struct { Value MapWithProperties Set bool }
OptMapWithProperties is optional MapWithProperties.
func NewOptMapWithProperties ¶ added in v0.9.0
func NewOptMapWithProperties(v MapWithProperties) OptMapWithProperties
NewOptMapWithProperties returns new OptMapWithProperties with value set to v.
func (*OptMapWithProperties) Decode ¶ added in v0.9.0
func (o *OptMapWithProperties) Decode(d *jx.Decoder) error
Decode decodes MapWithProperties from json.
func (OptMapWithProperties) Encode ¶ added in v0.9.0
func (o OptMapWithProperties) Encode(e *jx.Encoder)
Encode encodes MapWithProperties as json.
func (OptMapWithProperties) Get ¶ added in v0.9.0
func (o OptMapWithProperties) Get() (v MapWithProperties, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMapWithProperties) IsSet ¶ added in v0.9.0
func (o OptMapWithProperties) IsSet() bool
IsSet returns true if OptMapWithProperties was set.
func (OptMapWithProperties) MarshalJSON ¶ added in v0.20.0
func (s OptMapWithProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMapWithProperties) Or ¶ added in v0.9.0
func (o OptMapWithProperties) Or(d MapWithProperties) MapWithProperties
Or returns value if set, or given parameter if does not.
func (*OptMapWithProperties) Reset ¶ added in v0.9.0
func (o *OptMapWithProperties) Reset()
Reset unsets value.
func (*OptMapWithProperties) SetFake ¶ added in v0.19.0
func (s *OptMapWithProperties) SetFake()
SetFake set fake values.
func (*OptMapWithProperties) SetTo ¶ added in v0.9.0
func (o *OptMapWithProperties) SetTo(v MapWithProperties)
SetTo sets value to v.
func (*OptMapWithProperties) UnmarshalJSON ¶ added in v0.20.0
func (s *OptMapWithProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMapWithPropertiesInlinedSubMap ¶ added in v0.9.0
type OptMapWithPropertiesInlinedSubMap struct { Value MapWithPropertiesInlinedSubMap Set bool }
OptMapWithPropertiesInlinedSubMap is optional MapWithPropertiesInlinedSubMap.
func NewOptMapWithPropertiesInlinedSubMap ¶ added in v0.9.0
func NewOptMapWithPropertiesInlinedSubMap(v MapWithPropertiesInlinedSubMap) OptMapWithPropertiesInlinedSubMap
NewOptMapWithPropertiesInlinedSubMap returns new OptMapWithPropertiesInlinedSubMap with value set to v.
func (*OptMapWithPropertiesInlinedSubMap) Decode ¶ added in v0.9.0
func (o *OptMapWithPropertiesInlinedSubMap) Decode(d *jx.Decoder) error
Decode decodes MapWithPropertiesInlinedSubMap from json.
func (OptMapWithPropertiesInlinedSubMap) Encode ¶ added in v0.9.0
func (o OptMapWithPropertiesInlinedSubMap) Encode(e *jx.Encoder)
Encode encodes MapWithPropertiesInlinedSubMap as json.
func (OptMapWithPropertiesInlinedSubMap) Get ¶ added in v0.9.0
func (o OptMapWithPropertiesInlinedSubMap) Get() (v MapWithPropertiesInlinedSubMap, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMapWithPropertiesInlinedSubMap) IsSet ¶ added in v0.9.0
func (o OptMapWithPropertiesInlinedSubMap) IsSet() bool
IsSet returns true if OptMapWithPropertiesInlinedSubMap was set.
func (OptMapWithPropertiesInlinedSubMap) MarshalJSON ¶ added in v0.20.0
func (s OptMapWithPropertiesInlinedSubMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMapWithPropertiesInlinedSubMap) Or ¶ added in v0.9.0
func (o OptMapWithPropertiesInlinedSubMap) Or(d MapWithPropertiesInlinedSubMap) MapWithPropertiesInlinedSubMap
Or returns value if set, or given parameter if does not.
func (*OptMapWithPropertiesInlinedSubMap) Reset ¶ added in v0.9.0
func (o *OptMapWithPropertiesInlinedSubMap) Reset()
Reset unsets value.
func (*OptMapWithPropertiesInlinedSubMap) SetFake ¶ added in v0.19.0
func (s *OptMapWithPropertiesInlinedSubMap) SetFake()
SetFake set fake values.
func (*OptMapWithPropertiesInlinedSubMap) SetTo ¶ added in v0.9.0
func (o *OptMapWithPropertiesInlinedSubMap) SetTo(v MapWithPropertiesInlinedSubMap)
SetTo sets value to v.
func (*OptMapWithPropertiesInlinedSubMap) UnmarshalJSON ¶ added in v0.20.0
func (s *OptMapWithPropertiesInlinedSubMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMaxPropertiesTest ¶ added in v0.12.0
type OptMaxPropertiesTest struct { Value MaxPropertiesTest Set bool }
OptMaxPropertiesTest is optional MaxPropertiesTest.
func NewOptMaxPropertiesTest ¶ added in v0.12.0
func NewOptMaxPropertiesTest(v MaxPropertiesTest) OptMaxPropertiesTest
NewOptMaxPropertiesTest returns new OptMaxPropertiesTest with value set to v.
func (*OptMaxPropertiesTest) Decode ¶ added in v0.12.0
func (o *OptMaxPropertiesTest) Decode(d *jx.Decoder) error
Decode decodes MaxPropertiesTest from json.
func (OptMaxPropertiesTest) Encode ¶ added in v0.12.0
func (o OptMaxPropertiesTest) Encode(e *jx.Encoder)
Encode encodes MaxPropertiesTest as json.
func (OptMaxPropertiesTest) Get ¶ added in v0.12.0
func (o OptMaxPropertiesTest) Get() (v MaxPropertiesTest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMaxPropertiesTest) IsSet ¶ added in v0.12.0
func (o OptMaxPropertiesTest) IsSet() bool
IsSet returns true if OptMaxPropertiesTest was set.
func (OptMaxPropertiesTest) MarshalJSON ¶ added in v0.20.0
func (s OptMaxPropertiesTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMaxPropertiesTest) Or ¶ added in v0.12.0
func (o OptMaxPropertiesTest) Or(d MaxPropertiesTest) MaxPropertiesTest
Or returns value if set, or given parameter if does not.
func (*OptMaxPropertiesTest) Reset ¶ added in v0.12.0
func (o *OptMaxPropertiesTest) Reset()
Reset unsets value.
func (*OptMaxPropertiesTest) SetFake ¶ added in v0.19.0
func (s *OptMaxPropertiesTest) SetFake()
SetFake set fake values.
func (*OptMaxPropertiesTest) SetTo ¶ added in v0.12.0
func (o *OptMaxPropertiesTest) SetTo(v MaxPropertiesTest)
SetTo sets value to v.
func (*OptMaxPropertiesTest) UnmarshalJSON ¶ added in v0.20.0
func (s *OptMaxPropertiesTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilString ¶
OptNilString is optional nullable string.
func NewOptNilString ¶
func NewOptNilString(v string) OptNilString
NewOptNilString returns new OptNilString with value set to v.
func (*OptNilString) Decode ¶
func (o *OptNilString) Decode(d *jx.Decoder) error
Decode decodes string from json.
func (OptNilString) Encode ¶
func (o OptNilString) Encode(e *jx.Encoder)
Encode encodes string as json.
func (OptNilString) Get ¶
func (o OptNilString) Get() (v string, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilString) IsNull ¶
func (o OptNilString) IsNull() bool
IsSet returns true if value is Null.
func (OptNilString) IsSet ¶
func (o OptNilString) IsSet() bool
IsSet returns true if OptNilString was set.
func (OptNilString) MarshalJSON ¶ added in v0.20.0
func (s OptNilString) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilString) Or ¶ added in v0.4.0
func (o OptNilString) Or(d string) string
Or returns value if set, or given parameter if does not.
func (*OptNilString) SetFake ¶ added in v0.19.0
func (s *OptNilString) SetFake()
SetFake set fake values.
func (*OptNilString) UnmarshalJSON ¶ added in v0.20.0
func (s *OptNilString) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilStringArray ¶ added in v0.9.0
OptNilStringArray is optional nullable []string.
func NewOptNilStringArray ¶ added in v0.9.0
func NewOptNilStringArray(v []string) OptNilStringArray
NewOptNilStringArray returns new OptNilStringArray with value set to v.
func (*OptNilStringArray) Decode ¶ added in v0.9.0
func (o *OptNilStringArray) Decode(d *jx.Decoder) error
Decode decodes []string from json.
func (OptNilStringArray) Encode ¶ added in v0.9.0
func (o OptNilStringArray) Encode(e *jx.Encoder)
Encode encodes []string as json.
func (OptNilStringArray) Get ¶ added in v0.9.0
func (o OptNilStringArray) Get() (v []string, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilStringArray) IsNull ¶ added in v0.9.0
func (o OptNilStringArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilStringArray) IsSet ¶ added in v0.9.0
func (o OptNilStringArray) IsSet() bool
IsSet returns true if OptNilStringArray was set.
func (OptNilStringArray) MarshalJSON ¶ added in v0.20.0
func (s OptNilStringArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilStringArray) Or ¶ added in v0.9.0
func (o OptNilStringArray) Or(d []string) []string
Or returns value if set, or given parameter if does not.
func (*OptNilStringArray) Reset ¶ added in v0.9.0
func (o *OptNilStringArray) Reset()
Reset unsets value.
func (*OptNilStringArray) SetFake ¶ added in v0.19.0
func (s *OptNilStringArray) SetFake()
SetFake set fake values.
func (*OptNilStringArray) SetTo ¶ added in v0.9.0
func (o *OptNilStringArray) SetTo(v []string)
SetTo sets value to v.
func (*OptNilStringArray) UnmarshalJSON ¶ added in v0.20.0
func (s *OptNilStringArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNullValue ¶ added in v0.25.0
OptNullValue is optional NullValue.
func NewOptNullValue ¶ added in v0.25.0
func NewOptNullValue(v NullValue) OptNullValue
NewOptNullValue returns new OptNullValue with value set to v.
func (*OptNullValue) Decode ¶ added in v0.25.0
func (o *OptNullValue) Decode(d *jx.Decoder) error
Decode decodes NullValue from json.
func (OptNullValue) Encode ¶ added in v0.25.0
func (o OptNullValue) Encode(e *jx.Encoder)
Encode encodes NullValue as json.
func (OptNullValue) Get ¶ added in v0.25.0
func (o OptNullValue) Get() (v NullValue, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNullValue) IsSet ¶ added in v0.25.0
func (o OptNullValue) IsSet() bool
IsSet returns true if OptNullValue was set.
func (OptNullValue) MarshalJSON ¶ added in v0.25.0
func (s OptNullValue) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNullValue) Or ¶ added in v0.25.0
func (o OptNullValue) Or(d NullValue) NullValue
Or returns value if set, or given parameter if does not.
func (*OptNullValue) SetFake ¶ added in v0.25.0
func (s *OptNullValue) SetFake()
SetFake set fake values.
func (*OptNullValue) SetTo ¶ added in v0.25.0
func (o *OptNullValue) SetTo(v NullValue)
SetTo sets value to v.
func (*OptNullValue) UnmarshalJSON ¶ added in v0.25.0
func (s *OptNullValue) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNullableEnums ¶ added in v0.8.0
type OptNullableEnums struct { Value NullableEnums Set bool }
OptNullableEnums is optional NullableEnums.
func NewOptNullableEnums ¶ added in v0.8.0
func NewOptNullableEnums(v NullableEnums) OptNullableEnums
NewOptNullableEnums returns new OptNullableEnums with value set to v.
func (*OptNullableEnums) Decode ¶ added in v0.8.0
func (o *OptNullableEnums) Decode(d *jx.Decoder) error
Decode decodes NullableEnums from json.
func (OptNullableEnums) Encode ¶ added in v0.8.0
func (o OptNullableEnums) Encode(e *jx.Encoder)
Encode encodes NullableEnums as json.
func (OptNullableEnums) Get ¶ added in v0.8.0
func (o OptNullableEnums) Get() (v NullableEnums, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNullableEnums) IsSet ¶ added in v0.8.0
func (o OptNullableEnums) IsSet() bool
IsSet returns true if OptNullableEnums was set.
func (OptNullableEnums) MarshalJSON ¶ added in v0.20.0
func (s OptNullableEnums) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNullableEnums) Or ¶ added in v0.8.0
func (o OptNullableEnums) Or(d NullableEnums) NullableEnums
Or returns value if set, or given parameter if does not.
func (*OptNullableEnums) Reset ¶ added in v0.8.0
func (o *OptNullableEnums) Reset()
Reset unsets value.
func (*OptNullableEnums) SetFake ¶ added in v0.19.0
func (s *OptNullableEnums) SetFake()
SetFake set fake values.
func (*OptNullableEnums) SetTo ¶ added in v0.8.0
func (o *OptNullableEnums) SetTo(v NullableEnums)
SetTo sets value to v.
func (*OptNullableEnums) UnmarshalJSON ¶ added in v0.20.0
func (s *OptNullableEnums) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptOneOfMappingReference ¶ added in v0.16.0
type OptOneOfMappingReference struct { Value OneOfMappingReference Set bool }
OptOneOfMappingReference is optional OneOfMappingReference.
func NewOptOneOfMappingReference ¶ added in v0.16.0
func NewOptOneOfMappingReference(v OneOfMappingReference) OptOneOfMappingReference
NewOptOneOfMappingReference returns new OptOneOfMappingReference with value set to v.
func (*OptOneOfMappingReference) Decode ¶ added in v0.16.0
func (o *OptOneOfMappingReference) Decode(d *jx.Decoder) error
Decode decodes OneOfMappingReference from json.
func (OptOneOfMappingReference) Encode ¶ added in v0.16.0
func (o OptOneOfMappingReference) Encode(e *jx.Encoder)
Encode encodes OneOfMappingReference as json.
func (OptOneOfMappingReference) Get ¶ added in v0.16.0
func (o OptOneOfMappingReference) Get() (v OneOfMappingReference, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptOneOfMappingReference) IsSet ¶ added in v0.16.0
func (o OptOneOfMappingReference) IsSet() bool
IsSet returns true if OptOneOfMappingReference was set.
func (OptOneOfMappingReference) MarshalJSON ¶ added in v0.20.0
func (s OptOneOfMappingReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptOneOfMappingReference) Or ¶ added in v0.16.0
func (o OptOneOfMappingReference) Or(d OneOfMappingReference) OneOfMappingReference
Or returns value if set, or given parameter if does not.
func (*OptOneOfMappingReference) Reset ¶ added in v0.16.0
func (o *OptOneOfMappingReference) Reset()
Reset unsets value.
func (*OptOneOfMappingReference) SetFake ¶ added in v0.19.0
func (s *OptOneOfMappingReference) SetFake()
SetFake set fake values.
func (*OptOneOfMappingReference) SetTo ¶ added in v0.16.0
func (o *OptOneOfMappingReference) SetTo(v OneOfMappingReference)
SetTo sets value to v.
func (*OptOneOfMappingReference) UnmarshalJSON ¶ added in v0.20.0
func (s *OptOneOfMappingReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptOneOfUUIDAndIntEnum ¶ added in v0.16.0
type OptOneOfUUIDAndIntEnum struct { Value OneOfUUIDAndIntEnum Set bool }
OptOneOfUUIDAndIntEnum is optional OneOfUUIDAndIntEnum.
func NewOptOneOfUUIDAndIntEnum ¶ added in v0.16.0
func NewOptOneOfUUIDAndIntEnum(v OneOfUUIDAndIntEnum) OptOneOfUUIDAndIntEnum
NewOptOneOfUUIDAndIntEnum returns new OptOneOfUUIDAndIntEnum with value set to v.
func (*OptOneOfUUIDAndIntEnum) Decode ¶ added in v0.16.0
func (o *OptOneOfUUIDAndIntEnum) Decode(d *jx.Decoder) error
Decode decodes OneOfUUIDAndIntEnum from json.
func (OptOneOfUUIDAndIntEnum) Encode ¶ added in v0.16.0
func (o OptOneOfUUIDAndIntEnum) Encode(e *jx.Encoder)
Encode encodes OneOfUUIDAndIntEnum as json.
func (OptOneOfUUIDAndIntEnum) Get ¶ added in v0.16.0
func (o OptOneOfUUIDAndIntEnum) Get() (v OneOfUUIDAndIntEnum, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptOneOfUUIDAndIntEnum) IsSet ¶ added in v0.16.0
func (o OptOneOfUUIDAndIntEnum) IsSet() bool
IsSet returns true if OptOneOfUUIDAndIntEnum was set.
func (OptOneOfUUIDAndIntEnum) MarshalJSON ¶ added in v0.20.0
func (s OptOneOfUUIDAndIntEnum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptOneOfUUIDAndIntEnum) Or ¶ added in v0.16.0
func (o OptOneOfUUIDAndIntEnum) Or(d OneOfUUIDAndIntEnum) OneOfUUIDAndIntEnum
Or returns value if set, or given parameter if does not.
func (*OptOneOfUUIDAndIntEnum) Reset ¶ added in v0.16.0
func (o *OptOneOfUUIDAndIntEnum) Reset()
Reset unsets value.
func (*OptOneOfUUIDAndIntEnum) SetFake ¶ added in v0.19.0
func (s *OptOneOfUUIDAndIntEnum) SetFake()
SetFake set fake values.
func (*OptOneOfUUIDAndIntEnum) SetTo ¶ added in v0.16.0
func (o *OptOneOfUUIDAndIntEnum) SetTo(v OneOfUUIDAndIntEnum)
SetTo sets value to v.
func (*OptOneOfUUIDAndIntEnum) UnmarshalJSON ¶ added in v0.20.0
func (s *OptOneOfUUIDAndIntEnum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPet ¶
OptPet is optional Pet.
func (OptPet) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptPet) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPetName ¶
OptPetName is optional PetName.
func NewOptPetName ¶
func NewOptPetName(v PetName) OptPetName
NewOptPetName returns new OptPetName with value set to v.
func (*OptPetName) Decode ¶
func (o *OptPetName) Decode(d *jx.Decoder) error
Decode decodes PetName from json.
func (OptPetName) Encode ¶
func (o OptPetName) Encode(e *jx.Encoder)
Encode encodes PetName as json.
func (OptPetName) Get ¶
func (o OptPetName) Get() (v PetName, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPetName) IsSet ¶
func (o OptPetName) IsSet() bool
IsSet returns true if OptPetName was set.
func (OptPetName) MarshalJSON ¶ added in v0.20.0
func (s OptPetName) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPetName) Or ¶ added in v0.4.0
func (o OptPetName) Or(d PetName) PetName
Or returns value if set, or given parameter if does not.
func (*OptPetName) SetFake ¶ added in v0.19.0
func (s *OptPetName) SetFake()
SetFake set fake values.
func (*OptPetName) UnmarshalJSON ¶ added in v0.20.0
func (s *OptPetName) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPetType ¶
OptPetType is optional PetType.
func NewOptPetType ¶
func NewOptPetType(v PetType) OptPetType
NewOptPetType returns new OptPetType with value set to v.
func (*OptPetType) Decode ¶
func (o *OptPetType) Decode(d *jx.Decoder) error
Decode decodes PetType from json.
func (OptPetType) Encode ¶
func (o OptPetType) Encode(e *jx.Encoder)
Encode encodes PetType as json.
func (OptPetType) Get ¶
func (o OptPetType) Get() (v PetType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPetType) IsSet ¶
func (o OptPetType) IsSet() bool
IsSet returns true if OptPetType was set.
func (OptPetType) MarshalJSON ¶ added in v0.20.0
func (s OptPetType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPetType) Or ¶ added in v0.4.0
func (o OptPetType) Or(d PetType) PetType
Or returns value if set, or given parameter if does not.
func (*OptPetType) SetFake ¶ added in v0.19.0
func (s *OptPetType) SetFake()
SetFake set fake values.
func (*OptPetType) UnmarshalJSON ¶ added in v0.20.0
func (s *OptPetType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptStringMap ¶ added in v0.9.0
OptStringMap is optional StringMap.
func NewOptStringMap ¶ added in v0.9.0
func NewOptStringMap(v StringMap) OptStringMap
NewOptStringMap returns new OptStringMap with value set to v.
func (*OptStringMap) Decode ¶ added in v0.9.0
func (o *OptStringMap) Decode(d *jx.Decoder) error
Decode decodes StringMap from json.
func (OptStringMap) Encode ¶ added in v0.9.0
func (o OptStringMap) Encode(e *jx.Encoder)
Encode encodes StringMap as json.
func (OptStringMap) Get ¶ added in v0.9.0
func (o OptStringMap) Get() (v StringMap, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptStringMap) IsSet ¶ added in v0.9.0
func (o OptStringMap) IsSet() bool
IsSet returns true if OptStringMap was set.
func (OptStringMap) MarshalJSON ¶ added in v0.20.0
func (s OptStringMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptStringMap) Or ¶ added in v0.9.0
func (o OptStringMap) Or(d StringMap) StringMap
Or returns value if set, or given parameter if does not.
func (*OptStringMap) SetFake ¶ added in v0.19.0
func (s *OptStringMap) SetFake()
SetFake set fake values.
func (*OptStringMap) SetTo ¶ added in v0.9.0
func (o *OptStringMap) SetTo(v StringMap)
SetTo sets value to v.
func (*OptStringMap) UnmarshalJSON ¶ added in v0.20.0
func (s *OptStringMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptStringStringMap ¶ added in v0.9.0
type OptStringStringMap struct { Value StringStringMap Set bool }
OptStringStringMap is optional StringStringMap.
func NewOptStringStringMap ¶ added in v0.9.0
func NewOptStringStringMap(v StringStringMap) OptStringStringMap
NewOptStringStringMap returns new OptStringStringMap with value set to v.
func (*OptStringStringMap) Decode ¶ added in v0.9.0
func (o *OptStringStringMap) Decode(d *jx.Decoder) error
Decode decodes StringStringMap from json.
func (OptStringStringMap) Encode ¶ added in v0.9.0
func (o OptStringStringMap) Encode(e *jx.Encoder)
Encode encodes StringStringMap as json.
func (OptStringStringMap) Get ¶ added in v0.9.0
func (o OptStringStringMap) Get() (v StringStringMap, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptStringStringMap) IsSet ¶ added in v0.9.0
func (o OptStringStringMap) IsSet() bool
IsSet returns true if OptStringStringMap was set.
func (OptStringStringMap) MarshalJSON ¶ added in v0.20.0
func (s OptStringStringMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptStringStringMap) Or ¶ added in v0.9.0
func (o OptStringStringMap) Or(d StringStringMap) StringStringMap
Or returns value if set, or given parameter if does not.
func (*OptStringStringMap) Reset ¶ added in v0.9.0
func (o *OptStringStringMap) Reset()
Reset unsets value.
func (*OptStringStringMap) SetFake ¶ added in v0.19.0
func (s *OptStringStringMap) SetFake()
SetFake set fake values.
func (*OptStringStringMap) SetTo ¶ added in v0.9.0
func (o *OptStringStringMap) SetTo(v StringStringMap)
SetTo sets value to v.
func (*OptStringStringMap) UnmarshalJSON ¶ added in v0.20.0
func (s *OptStringStringMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTestObjectQueryParameterDeepObject ¶ added in v0.10.0
type OptTestObjectQueryParameterDeepObject struct { Value TestObjectQueryParameterDeepObject Set bool }
OptTestObjectQueryParameterDeepObject is optional TestObjectQueryParameterDeepObject.
func NewOptTestObjectQueryParameterDeepObject ¶ added in v0.10.0
func NewOptTestObjectQueryParameterDeepObject(v TestObjectQueryParameterDeepObject) OptTestObjectQueryParameterDeepObject
NewOptTestObjectQueryParameterDeepObject returns new OptTestObjectQueryParameterDeepObject with value set to v.
func (OptTestObjectQueryParameterDeepObject) Get ¶ added in v0.10.0
func (o OptTestObjectQueryParameterDeepObject) Get() (v TestObjectQueryParameterDeepObject, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTestObjectQueryParameterDeepObject) IsSet ¶ added in v0.10.0
func (o OptTestObjectQueryParameterDeepObject) IsSet() bool
IsSet returns true if OptTestObjectQueryParameterDeepObject was set.
func (OptTestObjectQueryParameterDeepObject) Or ¶ added in v0.10.0
func (o OptTestObjectQueryParameterDeepObject) Or(d TestObjectQueryParameterDeepObject) TestObjectQueryParameterDeepObject
Or returns value if set, or given parameter if does not.
func (*OptTestObjectQueryParameterDeepObject) Reset ¶ added in v0.10.0
func (o *OptTestObjectQueryParameterDeepObject) Reset()
Reset unsets value.
func (*OptTestObjectQueryParameterDeepObject) SetTo ¶ added in v0.10.0
func (o *OptTestObjectQueryParameterDeepObject) SetTo(v TestObjectQueryParameterDeepObject)
SetTo sets value to v.
type OptTestObjectQueryParameterFormObject ¶ added in v0.10.0
type OptTestObjectQueryParameterFormObject struct { Value TestObjectQueryParameterFormObject Set bool }
OptTestObjectQueryParameterFormObject is optional TestObjectQueryParameterFormObject.
func NewOptTestObjectQueryParameterFormObject ¶ added in v0.10.0
func NewOptTestObjectQueryParameterFormObject(v TestObjectQueryParameterFormObject) OptTestObjectQueryParameterFormObject
NewOptTestObjectQueryParameterFormObject returns new OptTestObjectQueryParameterFormObject with value set to v.
func (OptTestObjectQueryParameterFormObject) Get ¶ added in v0.10.0
func (o OptTestObjectQueryParameterFormObject) Get() (v TestObjectQueryParameterFormObject, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTestObjectQueryParameterFormObject) IsSet ¶ added in v0.10.0
func (o OptTestObjectQueryParameterFormObject) IsSet() bool
IsSet returns true if OptTestObjectQueryParameterFormObject was set.
func (OptTestObjectQueryParameterFormObject) Or ¶ added in v0.10.0
func (o OptTestObjectQueryParameterFormObject) Or(d TestObjectQueryParameterFormObject) TestObjectQueryParameterFormObject
Or returns value if set, or given parameter if does not.
func (*OptTestObjectQueryParameterFormObject) Reset ¶ added in v0.10.0
func (o *OptTestObjectQueryParameterFormObject) Reset()
Reset unsets value.
func (*OptTestObjectQueryParameterFormObject) SetTo ¶ added in v0.10.0
func (o *OptTestObjectQueryParameterFormObject) SetTo(v TestObjectQueryParameterFormObject)
SetTo sets value to v.
type OptTime ¶
OptTime is optional time.Time.
func NewOptTime ¶
NewOptTime returns new OptTime with value set to v.
func (OptTime) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptTime) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptURI ¶ added in v0.15.0
OptURI is optional url.URL.
func (OptURI) Get ¶ added in v0.15.0
Get returns value and boolean that denotes whether value was set.
func (OptURI) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptURI) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUUID ¶
OptUUID is optional uuid.UUID.
func NewOptUUID ¶
NewOptUUID returns new OptUUID with value set to v.
func (OptUUID) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*OptUUID) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptValidationStringMap ¶ added in v0.12.0
type OptValidationStringMap struct { Value ValidationStringMap Set bool }
OptValidationStringMap is optional ValidationStringMap.
func NewOptValidationStringMap ¶ added in v0.12.0
func NewOptValidationStringMap(v ValidationStringMap) OptValidationStringMap
NewOptValidationStringMap returns new OptValidationStringMap with value set to v.
func (*OptValidationStringMap) Decode ¶ added in v0.12.0
func (o *OptValidationStringMap) Decode(d *jx.Decoder) error
Decode decodes ValidationStringMap from json.
func (OptValidationStringMap) Encode ¶ added in v0.12.0
func (o OptValidationStringMap) Encode(e *jx.Encoder)
Encode encodes ValidationStringMap as json.
func (OptValidationStringMap) Get ¶ added in v0.12.0
func (o OptValidationStringMap) Get() (v ValidationStringMap, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptValidationStringMap) IsSet ¶ added in v0.12.0
func (o OptValidationStringMap) IsSet() bool
IsSet returns true if OptValidationStringMap was set.
func (OptValidationStringMap) MarshalJSON ¶ added in v0.20.0
func (s OptValidationStringMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptValidationStringMap) Or ¶ added in v0.12.0
func (o OptValidationStringMap) Or(d ValidationStringMap) ValidationStringMap
Or returns value if set, or given parameter if does not.
func (*OptValidationStringMap) Reset ¶ added in v0.12.0
func (o *OptValidationStringMap) Reset()
Reset unsets value.
func (*OptValidationStringMap) SetFake ¶ added in v0.19.0
func (s *OptValidationStringMap) SetFake()
SetFake set fake values.
func (*OptValidationStringMap) SetTo ¶ added in v0.12.0
func (o *OptValidationStringMap) SetTo(v ValidationStringMap)
SetTo sets value to v.
func (*OptValidationStringMap) UnmarshalJSON ¶ added in v0.20.0
func (s *OptValidationStringMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithErrorHandler ¶ added in v0.25.0
func WithErrorHandler(h ErrorHandler) Option
WithErrorHandler specifies error handler to use.
func WithMeterProvider ¶ added in v0.13.0
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the metric.NewNoopMeterProvider is used.
func WithNotFound ¶ added in v0.18.0
func WithNotFound(notFound http.HandlerFunc) Option
WithNotFound specifies Not Found handler to use.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type PatternRecursiveMap ¶ added in v0.23.0
type PatternRecursiveMap map[string]PatternRecursiveMap
Ref: #/components/schemas/PatternRecursiveMap
func (*PatternRecursiveMap) Decode ¶ added in v0.23.0
func (s *PatternRecursiveMap) Decode(d *jx.Decoder) error
Decode decodes PatternRecursiveMap from json.
func (PatternRecursiveMap) Encode ¶ added in v0.23.0
func (s PatternRecursiveMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PatternRecursiveMap) MarshalJSON ¶ added in v0.23.0
func (s PatternRecursiveMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PatternRecursiveMap) SetFake ¶ added in v0.23.0
func (s *PatternRecursiveMap) SetFake()
SetFake set fake values.
func (*PatternRecursiveMap) UnmarshalJSON ¶ added in v0.23.0
func (s *PatternRecursiveMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Pet ¶
type Pet struct { Primary *Pet "json:\"primary\"" ID int64 "json:\"id\"" UniqueID uuid.UUID "json:\"unique_id\"" Name string "json:\"name\"" Type OptPetType "json:\"type\"" Kind PetKind "json:\"kind\"" Tag OptUUID "json:\"tag\"" IP netip.Addr "json:\"ip\"" IPV4 netip.Addr "json:\"ip_v4\"" IPV6 netip.Addr "json:\"ip_v6\"" URI url.URL "json:\"uri\"" Birthday time.Time "json:\"birthday\"" Rate time.Duration "json:\"rate\"" Nickname NilString "json:\"nickname\"" NullStr OptNilString "json:\"nullStr\"" Friends []Pet "json:\"friends\"" Next OptData "json:\"next\"" TestInteger1 OptInt "json:\"testInteger1\"" TestFloat1 OptFloat64 "json:\"testFloat1\"" TestArray1 [][]string "json:\"testArray1\"" TestArray2 OptArrayTest "json:\"testArray2\"" TestMap OptStringStringMap "json:\"testMap\"" TestMapWithProps OptMapWithProperties "json:\"testMapWithProps\"" TestAny OptAnyTest "json:\"testAny\"" TestAnyOf OptAnyOfTest "json:\"testAnyOf\"" TestMaxProperties OptMaxPropertiesTest "json:\"testMaxProperties\"" TestDate OptDate "json:\"testDate\"" TestDuration OptDuration "json:\"testDuration\"" TestTime OptTime "json:\"testTime\"" TestDateTime OptDateTime "json:\"testDateTime\"" NullValue OptNullValue "json:\"nullValue\"" }
Cute and lovely creature. Ref: #/components/schemas/Pet
func (Pet) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*Pet) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type PetFriendsNamesByIDParams ¶
type PetFriendsNamesByIDParams struct { // Pet ID. ID int }
type PetGetAvatarByIDOK ¶ added in v0.10.0
type PetGetAvatarByIDParams ¶
type PetGetAvatarByIDParams struct { // ID of pet. PetID int64 }
type PetGetAvatarByIDRes ¶
type PetGetAvatarByIDRes interface {
// contains filtered or unexported methods
}
type PetGetAvatarByNameOK ¶ added in v0.14.1
type PetGetAvatarByNameParams ¶ added in v0.14.1
type PetGetAvatarByNameParams struct { // Name of pet. Name string }
type PetGetAvatarByNameRes ¶ added in v0.14.1
type PetGetAvatarByNameRes interface {
// contains filtered or unexported methods
}
type PetGetByNameParams ¶
type PetGetByNameParams struct { // Name of pet. Name string }
type PetGetDef ¶
type PetGetDef struct {
Message string "json:\"message\""
}
func (PetGetDef) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*PetGetDef) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type PetGetDefStatusCode ¶
PetGetDefStatusCode wraps PetGetDef with StatusCode.
type PetGetParams ¶
type PetKind ¶
type PetKind string
func (PetKind) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*PetKind) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type PetName ¶
type PetName string
func (PetName) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*PetName) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type PetNameByIDParams ¶
type PetNameByIDParams struct { // Pet ID. ID int }
type PetType ¶
type PetType string
func (PetType) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*PetType) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type PetUpdateNameAliasPostDef ¶
type PetUpdateNameAliasPostDef struct{}
PetUpdateNameAliasPostDef is default response for PetUpdateNameAliasPost operation.
type PetUpdateNameAliasPostDefStatusCode ¶
type PetUpdateNameAliasPostDefStatusCode struct { StatusCode int Response PetUpdateNameAliasPostDef }
PetUpdateNameAliasPostDefStatusCode wraps PetUpdateNameAliasPostDef with StatusCode.
type PetUpdateNamePostDef ¶
type PetUpdateNamePostDef struct{}
PetUpdateNamePostDef is default response for PetUpdateNamePost operation.
type PetUpdateNamePostDefStatusCode ¶
type PetUpdateNamePostDefStatusCode struct { StatusCode int Response PetUpdateNamePostDef }
PetUpdateNamePostDefStatusCode wraps PetUpdateNamePostDef with StatusCode.
type PetUploadAvatarByIDOK ¶
type PetUploadAvatarByIDOK struct{}
PetUploadAvatarByIDOK is response for PetUploadAvatarByID operation.
type PetUploadAvatarByIDParams ¶
type PetUploadAvatarByIDParams struct { // ID of pet. PetID int64 }
type PetUploadAvatarByIDReq ¶ added in v0.10.0
type PetUploadAvatarByIDRes ¶
type PetUploadAvatarByIDRes interface {
// contains filtered or unexported methods
}
type RecursiveArray ¶ added in v0.16.0
type RecursiveArray []RecursiveArray
func (*RecursiveArray) Decode ¶ added in v0.16.0
func (s *RecursiveArray) Decode(d *jx.Decoder) error
Decode decodes RecursiveArray from json.
func (RecursiveArray) Encode ¶ added in v0.16.0
func (s RecursiveArray) Encode(e *jx.Encoder)
Encode encodes RecursiveArray as json.
func (RecursiveArray) MarshalJSON ¶ added in v0.20.0
func (s RecursiveArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecursiveArray) SetFake ¶ added in v0.19.0
func (s *RecursiveArray) SetFake()
SetFake set fake values.
func (*RecursiveArray) UnmarshalJSON ¶ added in v0.20.0
func (s *RecursiveArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RecursiveArray) Validate ¶ added in v0.16.0
func (s RecursiveArray) Validate() error
type RecursiveMap ¶ added in v0.11.1
type RecursiveMap struct { OptionalRecursiveField *RecursiveMap "json:\"optional_recursive_field\"" AdditionalProps RecursiveMapAdditional }
Ref: #/components/schemas/RecursiveMap
func (*RecursiveMap) Decode ¶ added in v0.11.1
func (s *RecursiveMap) Decode(d *jx.Decoder) error
Decode decodes RecursiveMap from json.
func (RecursiveMap) Encode ¶ added in v0.11.1
func (s RecursiveMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RecursiveMap) MarshalJSON ¶ added in v0.20.0
func (s RecursiveMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecursiveMap) SetFake ¶ added in v0.19.0
func (s *RecursiveMap) SetFake()
SetFake set fake values.
func (*RecursiveMap) UnmarshalJSON ¶ added in v0.20.0
func (s *RecursiveMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RecursiveMapAdditional ¶ added in v0.22.0
type RecursiveMapAdditional map[string]RecursiveMap
func (*RecursiveMapAdditional) Decode ¶ added in v0.22.0
func (s *RecursiveMapAdditional) Decode(d *jx.Decoder) error
Decode decodes RecursiveMapAdditional from json.
func (RecursiveMapAdditional) Encode ¶ added in v0.22.0
func (s RecursiveMapAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RecursiveMapAdditional) MarshalJSON ¶ added in v0.22.0
func (s RecursiveMapAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecursiveMapAdditional) SetFake ¶ added in v0.22.0
func (s *RecursiveMapAdditional) SetFake()
SetFake set fake values.
func (*RecursiveMapAdditional) UnmarshalJSON ¶ added in v0.22.0
func (s *RecursiveMapAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Route ¶ added in v0.8.0
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) OperationID ¶ added in v0.8.0
OperationID returns OpenAPI operationId.
type SecurityHandler ¶ added in v0.19.0
type SecurityHandler interface { // HandleAPIKey handles api_key security. HandleAPIKey(ctx context.Context, operationID string, t APIKey) (context.Context, error) }
SecurityHandler is handler for security parameters.
type SecuritySource ¶ added in v0.19.0
type SecuritySource interface { // APIKey provides api_key security value. APIKey(ctx context.Context, operationID string) (APIKey, error) }
SecuritySource is provider of security values (tokens, passwords, etc.).
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
type StringIntMap ¶ added in v0.23.0
type StringIntMap struct { AdditionalProps StringIntMapAdditional Pattern0Props StringIntMapPattern0 }
Ref: #/components/schemas/StringIntMap
func (*StringIntMap) Decode ¶ added in v0.23.0
func (s *StringIntMap) Decode(d *jx.Decoder) error
Decode decodes StringIntMap from json.
func (StringIntMap) Encode ¶ added in v0.23.0
func (s StringIntMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StringIntMap) MarshalJSON ¶ added in v0.23.0
func (s StringIntMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StringIntMap) SetFake ¶ added in v0.23.0
func (s *StringIntMap) SetFake()
SetFake set fake values.
func (*StringIntMap) UnmarshalJSON ¶ added in v0.23.0
func (s *StringIntMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StringIntMapAdditional ¶ added in v0.23.0
func (*StringIntMapAdditional) Decode ¶ added in v0.23.0
func (s *StringIntMapAdditional) Decode(d *jx.Decoder) error
Decode decodes StringIntMapAdditional from json.
func (StringIntMapAdditional) Encode ¶ added in v0.23.0
func (s StringIntMapAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StringIntMapAdditional) MarshalJSON ¶ added in v0.23.0
func (s StringIntMapAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StringIntMapAdditional) SetFake ¶ added in v0.23.0
func (s *StringIntMapAdditional) SetFake()
SetFake set fake values.
func (*StringIntMapAdditional) UnmarshalJSON ¶ added in v0.23.0
func (s *StringIntMapAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StringIntMapPattern0 ¶ added in v0.23.0
func (*StringIntMapPattern0) Decode ¶ added in v0.23.0
func (s *StringIntMapPattern0) Decode(d *jx.Decoder) error
Decode decodes StringIntMapPattern0 from json.
func (StringIntMapPattern0) Encode ¶ added in v0.23.0
func (s StringIntMapPattern0) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StringIntMapPattern0) MarshalJSON ¶ added in v0.23.0
func (s StringIntMapPattern0) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StringIntMapPattern0) SetFake ¶ added in v0.23.0
func (s *StringIntMapPattern0) SetFake()
SetFake set fake values.
func (*StringIntMapPattern0) UnmarshalJSON ¶ added in v0.23.0
func (s *StringIntMapPattern0) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StringMap ¶ added in v0.9.0
Ref: #/components/schemas/StringMap
func (StringMap) MarshalJSON ¶ added in v0.20.0
MarshalJSON implements stdjson.Marshaler.
func (*StringMap) UnmarshalJSON ¶ added in v0.20.0
UnmarshalJSON implements stdjson.Unmarshaler.
type StringStringMap ¶ added in v0.9.0
Ref: #/components/schemas/StringStringMap
func (*StringStringMap) Decode ¶ added in v0.9.0
func (s *StringStringMap) Decode(d *jx.Decoder) error
Decode decodes StringStringMap from json.
func (StringStringMap) Encode ¶ added in v0.9.0
func (s StringStringMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StringStringMap) MarshalJSON ¶ added in v0.20.0
func (s StringStringMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StringStringMap) SetFake ¶ added in v0.19.0
func (s *StringStringMap) SetFake()
SetFake set fake values.
func (*StringStringMap) UnmarshalJSON ¶ added in v0.20.0
func (s *StringStringMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (StringStringMap) Validate ¶ added in v0.9.0
func (s StringStringMap) Validate() error
type TestFloatValidation ¶ added in v0.16.0
type TestFloatValidation struct { Minmax float64 "json:\"minmax\"" MultipleOf float64 "json:\"multipleOf\"" }
Ref: #/components/schemas/TestFloatValidation
func (*TestFloatValidation) Decode ¶ added in v0.16.0
func (s *TestFloatValidation) Decode(d *jx.Decoder) error
Decode decodes TestFloatValidation from json.
func (TestFloatValidation) Encode ¶ added in v0.16.0
func (s TestFloatValidation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TestFloatValidation) MarshalJSON ¶ added in v0.20.0
func (s TestFloatValidation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TestFloatValidation) SetFake ¶ added in v0.19.0
func (s *TestFloatValidation) SetFake()
SetFake set fake values.
func (*TestFloatValidation) UnmarshalJSON ¶ added in v0.20.0
func (s *TestFloatValidation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (TestFloatValidation) Validate ¶ added in v0.16.0
func (s TestFloatValidation) Validate() error
type TestFloatValidationOK ¶ added in v0.16.0
type TestFloatValidationOK struct{}
TestFloatValidationOK is response for TestFloatValidation operation.
type TestObjectQueryParameterDeepObject ¶ added in v0.10.0
type TestObjectQueryParameterFormObject ¶ added in v0.10.0
type TestObjectQueryParameterOK ¶ added in v0.10.0
type TestObjectQueryParameterOK struct { Style string "json:\"style\"" Min int "json:\"min\"" Max int "json:\"max\"" Filter string "json:\"filter\"" }
func (*TestObjectQueryParameterOK) Decode ¶ added in v0.10.0
func (s *TestObjectQueryParameterOK) Decode(d *jx.Decoder) error
Decode decodes TestObjectQueryParameterOK from json.
func (TestObjectQueryParameterOK) Encode ¶ added in v0.10.0
func (s TestObjectQueryParameterOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TestObjectQueryParameterOK) MarshalJSON ¶ added in v0.20.0
func (s TestObjectQueryParameterOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TestObjectQueryParameterOK) SetFake ¶ added in v0.19.0
func (s *TestObjectQueryParameterOK) SetFake()
SetFake set fake values.
func (*TestObjectQueryParameterOK) UnmarshalJSON ¶ added in v0.20.0
func (s *TestObjectQueryParameterOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TestObjectQueryParameterParams ¶ added in v0.10.0
type TestObjectQueryParameterParams struct { FormObject OptTestObjectQueryParameterFormObject DeepObject OptTestObjectQueryParameterDeepObject }
type UnimplementedHandler ¶ added in v0.18.0
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) DataGetFormat ¶ added in v0.18.0
func (UnimplementedHandler) DataGetFormat(ctx context.Context, params DataGetFormatParams) (r string, _ error)
DataGetFormat implements dataGetFormat operation.
Retrieve data.
GET /name/{id}/{foo}1234{bar}-{baz}!{kek}
func (UnimplementedHandler) DefaultTest ¶ added in v0.18.0
func (UnimplementedHandler) DefaultTest(ctx context.Context, req DefaultTest, params DefaultTestParams) (r int32, _ error)
DefaultTest implements defaultTest operation.
POST /defaultTest
func (UnimplementedHandler) ErrorGet ¶ added in v0.18.0
func (UnimplementedHandler) ErrorGet(ctx context.Context) (r ErrorStatusCode, _ error)
ErrorGet implements errorGet operation.
Returns error.
GET /error
func (UnimplementedHandler) FoobarGet ¶ added in v0.18.0
func (UnimplementedHandler) FoobarGet(ctx context.Context, params FoobarGetParams) (r FoobarGetRes, _ error)
FoobarGet implements foobarGet operation.
Dumb endpoint for testing things.
GET /foobar
func (UnimplementedHandler) FoobarPost ¶ added in v0.18.0
func (UnimplementedHandler) FoobarPost(ctx context.Context, req OptPet) (r FoobarPostRes, _ error)
FoobarPost implements foobarPost operation.
Dumb endpoint for testing things.
POST /foobar
func (UnimplementedHandler) FoobarPut ¶ added in v0.18.0
func (UnimplementedHandler) FoobarPut(ctx context.Context) (r FoobarPutDefStatusCode, _ error)
FoobarPut implements operation.
PUT /foobar
func (UnimplementedHandler) GetHeader ¶ added in v0.18.0
func (UnimplementedHandler) GetHeader(ctx context.Context, params GetHeaderParams) (r Hash, _ error)
GetHeader implements getHeader operation.
Test for header param.
GET /test/header
func (UnimplementedHandler) NullableDefaultResponse ¶ added in v0.18.0
func (UnimplementedHandler) NullableDefaultResponse(ctx context.Context) (r NilIntStatusCode, _ error)
NullableDefaultResponse implements nullableDefaultResponse operation.
GET /nullableDefaultResponse
func (UnimplementedHandler) OneofBug ¶ added in v0.18.0
func (UnimplementedHandler) OneofBug(ctx context.Context, req OneOfBugs) (r OneofBugOK, _ error)
OneofBug implements oneofBug operation.
POST /oneofBug
func (UnimplementedHandler) PatternRecursiveMapGet ¶ added in v0.23.0
func (UnimplementedHandler) PatternRecursiveMapGet(ctx context.Context) (r PatternRecursiveMap, _ error)
PatternRecursiveMapGet implements operation.
GET /patternRecursiveMap
func (UnimplementedHandler) PetCreate ¶ added in v0.18.0
PetCreate implements petCreate operation.
Creates pet.
POST /pet
func (UnimplementedHandler) PetFriendsNamesByID ¶ added in v0.18.0
func (UnimplementedHandler) PetFriendsNamesByID(ctx context.Context, params PetFriendsNamesByIDParams) (r []string, _ error)
PetFriendsNamesByID implements petFriendsNamesByID operation.
Returns names of all friends of pet.
GET /pet/friendNames/{id}
func (UnimplementedHandler) PetGet ¶ added in v0.18.0
func (UnimplementedHandler) PetGet(ctx context.Context, params PetGetParams) (r PetGetRes, _ error)
PetGet implements petGet operation.
Returns pet from the system that the user has access to.
GET /pet
func (UnimplementedHandler) PetGetAvatarByID ¶ added in v0.18.0
func (UnimplementedHandler) PetGetAvatarByID(ctx context.Context, params PetGetAvatarByIDParams) (r PetGetAvatarByIDRes, _ error)
PetGetAvatarByID implements petGetAvatarByID operation.
Returns pet avatar by id.
GET /pet/avatar
func (UnimplementedHandler) PetGetAvatarByName ¶ added in v0.18.0
func (UnimplementedHandler) PetGetAvatarByName(ctx context.Context, params PetGetAvatarByNameParams) (r PetGetAvatarByNameRes, _ error)
PetGetAvatarByName implements petGetAvatarByName operation.
Returns pet's avatar by name.
GET /pet/{name}/avatar
func (UnimplementedHandler) PetGetByName ¶ added in v0.18.0
func (UnimplementedHandler) PetGetByName(ctx context.Context, params PetGetByNameParams) (r Pet, _ error)
PetGetByName implements petGetByName operation.
Returns pet by name from the system that the user has access to.
GET /pet/{name}
func (UnimplementedHandler) PetNameByID ¶ added in v0.18.0
func (UnimplementedHandler) PetNameByID(ctx context.Context, params PetNameByIDParams) (r string, _ error)
PetNameByID implements petNameByID operation.
Returns pet name by pet id.
GET /pet/name/{id}
func (UnimplementedHandler) PetUpdateNameAliasPost ¶ added in v0.18.0
func (UnimplementedHandler) PetUpdateNameAliasPost(ctx context.Context, req OptPetName) (r PetUpdateNameAliasPostDefStatusCode, _ error)
PetUpdateNameAliasPost implements operation.
POST /pet/updateNameAlias
func (UnimplementedHandler) PetUpdateNamePost ¶ added in v0.18.0
func (UnimplementedHandler) PetUpdateNamePost(ctx context.Context, req OptString) (r PetUpdateNamePostDefStatusCode, _ error)
PetUpdateNamePost implements operation.
POST /pet/updateName
func (UnimplementedHandler) PetUploadAvatarByID ¶ added in v0.18.0
func (UnimplementedHandler) PetUploadAvatarByID(ctx context.Context, req PetUploadAvatarByIDReq, params PetUploadAvatarByIDParams) (r PetUploadAvatarByIDRes, _ error)
PetUploadAvatarByID implements petUploadAvatarByID operation.
Uploads pet avatar by id.
POST /pet/avatar
func (UnimplementedHandler) RecursiveArrayGet ¶ added in v0.18.0
func (UnimplementedHandler) RecursiveArrayGet(ctx context.Context) (r RecursiveArray, _ error)
RecursiveArrayGet implements operation.
GET /recursiveArray
func (UnimplementedHandler) RecursiveMapGet ¶ added in v0.18.0
func (UnimplementedHandler) RecursiveMapGet(ctx context.Context) (r RecursiveMap, _ error)
RecursiveMapGet implements operation.
GET /recursiveMap
func (UnimplementedHandler) SecurityTest ¶ added in v0.19.0
func (UnimplementedHandler) SecurityTest(ctx context.Context) (r string, _ error)
SecurityTest implements securityTest operation.
GET /securityTest
func (UnimplementedHandler) StringIntMapGet ¶ added in v0.23.0
func (UnimplementedHandler) StringIntMapGet(ctx context.Context) (r StringIntMap, _ error)
StringIntMapGet implements operation.
GET /stringIntMap
func (UnimplementedHandler) TestFloatValidation ¶ added in v0.18.0
func (UnimplementedHandler) TestFloatValidation(ctx context.Context, req TestFloatValidation) (r TestFloatValidationOK, _ error)
TestFloatValidation implements testFloatValidation operation.
POST /testFloatValidation
func (UnimplementedHandler) TestObjectQueryParameter ¶ added in v0.18.0
func (UnimplementedHandler) TestObjectQueryParameter(ctx context.Context, params TestObjectQueryParameterParams) (r TestObjectQueryParameterOK, _ error)
TestObjectQueryParameter implements testObjectQueryParameter operation.
GET /testObjectQueryParameter
type ValidationStringMap ¶ added in v0.12.0
Ref: #/components/schemas/ValidationStringMap
func (*ValidationStringMap) Decode ¶ added in v0.12.0
func (s *ValidationStringMap) Decode(d *jx.Decoder) error
Decode decodes ValidationStringMap from json.
func (ValidationStringMap) Encode ¶ added in v0.12.0
func (s ValidationStringMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ValidationStringMap) MarshalJSON ¶ added in v0.20.0
func (s ValidationStringMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ValidationStringMap) SetFake ¶ added in v0.19.0
func (s *ValidationStringMap) SetFake()
SetFake set fake values.
func (*ValidationStringMap) UnmarshalJSON ¶ added in v0.20.0
func (s *ValidationStringMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ValidationStringMap) Validate ¶ added in v0.12.0
func (s ValidationStringMap) Validate() error
Source Files ¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_defaults_gen.go
- oas_faker_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_param_dec_gen.go
- oas_param_gen.go
- oas_req_dec_gen.go
- oas_req_enc_gen.go
- oas_res_dec_gen.go
- oas_res_enc_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_security_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_uri_gen.go
- oas_validators_gen.go