Skip to content

Commit 5cfff99

Browse files
committed
Update
1 parent d2ca1a1 commit 5cfff99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/cli/internal/openapi/oasdiff_result.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ type OasDiffResult struct {
2929

3030
// GetSimpleDiff returns the diff between two OpenAPI specs.
3131
func (o OasDiff) GetSimpleDiff(base, revision *load.SpecInfo) (*OasDiffResult, error) {
32-
diffReport, operationsSources, err := diff.GetWithOperationsSourcesMap(o.config, base, revision)
32+
diffReport, err := diff.Get(o.config, base.Spec, revision.Spec)
3333
if err != nil {
3434
return nil, err
3535
}
3636

3737
return &OasDiffResult{
3838
Report: diffReport,
39-
SourceMap: operationsSources,
39+
SourceMap: nil,
4040
SpecInfoPair: load.NewSpecInfoPair(base, revision),
4141
Config: o.config,
4242
}, nil

0 commit comments

Comments
 (0)