Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuven committed Feb 1, 2024
1 parent 07e0562 commit 4e5be19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/getkin/kin-openapi/openapi3"
"github.com/spf13/cobra"
"github.com/tufin/oasdiff/diff"
"github.com/tufin/oasdiff/flatten"
"github.com/tufin/oasdiff/flatten/allof"
"github.com/tufin/oasdiff/formatters"
"github.com/tufin/oasdiff/load"
)
Expand Down Expand Up @@ -174,7 +174,7 @@ func mergeAllOf(title string, specInfos []*load.SpecInfo, source *load.Source) *
var err error

for _, specInfo := range specInfos {
if specInfo.Spec, err = flatten.MergeSpec(specInfo.Spec); err != nil {
if specInfo.Spec, err = allof.MergeSpec(specInfo.Spec); err != nil {
return getErrFailedToFlattenSpec(title, source, err)
}
}
Expand Down

0 comments on commit 4e5be19

Please sign in to comment.