Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
reversearrow committed Sep 23, 2024
1 parent b0f93cc commit 78fe764
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 @@ -407,7 +407,7 @@ func (schema *Schema) UnmarshalJSON(data []byte) error {
type Alias Schema
type SchemaBis struct {
Alias
Discriminator json.RawMessage `json:"discriminator,omitempty"`
Discriminator json.RawMessage `json:"discriminator,omitempty" yaml:"discriminator,omitempty"`
}

var x SchemaBis
Expand Down

0 comments on commit 78fe764

Please sign in to comment.