@@ -411,8 +411,8 @@ type Discriminator struct {
411411 Extensions map[string]any `json:"-" yaml:"-"`
412412 Origin *Origin `json:"origin,omitempty" yaml:"origin,omitempty"`
413413
414- PropertyName string `json:"propertyName" yaml:"propertyName"` // required
415- Mapping StringMap[MappingRef] `json:"mapping,omitempty" yaml:"mapping,omitempty"`
414+ PropertyName string `json:"propertyName" yaml:"propertyName"` // required
415+ Mapping StringMap `json:"mapping,omitempty" yaml:"mapping,omitempty"`
416416}
417417 Discriminator is specified by OpenAPI/Swagger standard version 3. See
418418 https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#discriminator-object
@@ -831,15 +831,6 @@ type Location struct {
831831}
832832 Location is a struct that contains the location of a field.
833833
834- type MappingRef SchemaRef
835- MappingRef is a ref to a Schema objects. Unlike SchemaRefs it is serialised
836- as a plain string instead of an object with a $ref key, as such it also does
837- not support extensions.
838-
839- func (mr MappingRef) MarshalText() ([]byte, error)
840-
841- func (mr *MappingRef) UnmarshalText(data []byte) error
842-
843834type MediaType struct {
844835 Extensions map[string]any `json:"-" yaml:"-"`
845836 Origin *Origin `json:"origin,omitempty" yaml:"origin,omitempty"`
@@ -922,10 +913,10 @@ type OAuthFlow struct {
922913 Extensions map[string]any `json:"-" yaml:"-"`
923914 Origin *Origin `json:"origin,omitempty" yaml:"origin,omitempty"`
924915
925- AuthorizationURL string `json:"authorizationUrl,omitempty" yaml:"authorizationUrl,omitempty"`
926- TokenURL string `json:"tokenUrl,omitempty" yaml:"tokenUrl,omitempty"`
927- RefreshURL string `json:"refreshUrl,omitempty" yaml:"refreshUrl,omitempty"`
928- Scopes StringMap[string] `json:"scopes" yaml:"scopes"` // required
916+ AuthorizationURL string `json:"authorizationUrl,omitempty" yaml:"authorizationUrl,omitempty"`
917+ TokenURL string `json:"tokenUrl,omitempty" yaml:"tokenUrl,omitempty"`
918+ RefreshURL string `json:"refreshUrl,omitempty" yaml:"refreshUrl,omitempty"`
919+ Scopes StringMap `json:"scopes" yaml:"scopes"` // required
929920}
930921 OAuthFlow is specified by OpenAPI/Swagger standard version 3. See
931922 https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#oauth-flow-object
@@ -2076,11 +2067,11 @@ func NewRegexpFormatValidator(pattern string) StringFormatValidator
20762067 NewRegexpFormatValidator creates a new FormatValidator that uses a regular
20772068 expression to validate the value.
20782069
2079- type StringMap[V any] map[string]V
2070+ type StringMap map[string]string
20802071 StringMap is a map[string]string that ignores the origin in the underlying
20812072 json representation.
20822073
2083- func (stringMap *StringMap[V] ) UnmarshalJSON(data []byte) (err error)
2074+ func (stringMap *StringMap) UnmarshalJSON(data []byte) (err error)
20842075 UnmarshalJSON sets StringMap to a copy of data.
20852076
20862077type T struct {
0 commit comments