Skip to content

Commit

Permalink
rename discriminator field from interface{} to any
Browse files Browse the repository at this point in the history
  • Loading branch information
reversearrow committed Sep 17, 2024
1 parent 5011fae commit 77de606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi3/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ type Schema struct {
MinProps uint64 `json:"minProperties,omitempty" yaml:"minProperties,omitempty"`
MaxProps *uint64 `json:"maxProperties,omitempty" yaml:"maxProperties,omitempty"`
AdditionalProperties AdditionalProperties `json:"additionalProperties,omitempty" yaml:"additionalProperties,omitempty"`
Discriminator interface{} `json:"discriminator,omitempty" yaml:"discriminator,omitempty"`
Discriminator any `json:"discriminator,omitempty" yaml:"discriminator,omitempty"`
}

type Types []string
Expand Down

0 comments on commit 77de606

Please sign in to comment.