Skip to content

Commit

Permalink
Merge pull request #129 from grafana/fix-buggy-check
Browse files Browse the repository at this point in the history
Fix oapi-codegen check
  • Loading branch information
sam boyer committed Apr 17, 2023
2 parents 4c419ae + 23fab2c commit 99b482c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/deepmap/oapi-codegen/pkg/codegen/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"fmt"
"go/token"
"net/url"
"reflect"
"regexp"
"sort"
"strconv"
Expand Down Expand Up @@ -904,5 +905,5 @@ func TypeDefinitionsEquivalent(t1, t2 TypeDefinition) bool {
if t1.TypeName != t2.TypeName {
return false
}
return t1.Schema.OAPISchema == t2.Schema.OAPISchema
return reflect.DeepEqual(t1.Schema.OAPISchema, t2.Schema.OAPISchema)
}

0 comments on commit 99b482c

Please sign in to comment.