Skip to content

Commit f6889c0

Browse files
Jamie Tannajamietanna
authored andcommitted
chore: rename variable
1 parent de34b88 commit f6889c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/codegen/schema.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,8 @@ func GenFieldsFromProperties(props []Property) []string {
705705
// This comment has to be on its own line for godoc & IDEs to pick up
706706
var deprecationReason string
707707
if extension, ok := p.Extensions[extDeprecationReason]; ok {
708-
if extOmitEmpty, err := extParseDeprecationReason(extension); err == nil {
709-
deprecationReason = extOmitEmpty
708+
if extDeprecationReason, err := extParseDeprecationReason(extension); err == nil {
709+
deprecationReason = extDeprecationReason
710710
}
711711
}
712712

0 commit comments

Comments
 (0)