pb33f / openapi-changes

The world's sexiest OpenAPI breaking changes detector. Discover what changed between two OpenAPI specs, or a single spec over time. Supports OpenAPI 3.1, 3.0 and Swagger
https://pb33f.io/openapi-changes/
Other
180 stars 16 forks source link

build fails due to out-of-date go.sum #117

Closed mguentner closed 6 months ago

mguentner commented 6 months ago

broken commit: 2738616033f509fba169f1114edf695e232bf363

❯ go build
go: downloading github.com/gdamore/tcell/v2 v2.7.4
go: downloading github.com/rivo/tview v0.0.0-20240307173318-e804876934a1
go: downloading github.com/rivo/uniseg v0.4.7
cmd/tree.go:8:2: missing go.sum entry for module providing package github.com/pb33f/libopenapi/datamodel/low/v3 (imported by github.com/pb33f/openapi-changes/cmd); to add:
    go get github.com/pb33f/openapi-changes/cmd
cmd/html_report.go:11:2: missing go.sum entry for module providing package github.com/pb33f/libopenapi/index (imported by github.com/pb33f/openapi-changes/cmd); to add:
    go get github.com/pb33f/openapi-changes/cmd
cmd/flatten_report.go:7:2: missing go.sum entry for module providing package github.com/pb33f/libopenapi/what-changed/model (imported by github.com/pb33f/openapi-changes/cmd); to add:
    go get github.com/pb33f/openapi-changes/cmd
cmd/report.go:16:2: missing go.sum entry for module providing package github.com/pb33f/libopenapi/what-changed/reports (imported by github.com/pb33f/openapi-changes/cmd); to add:
    go get github.com/pb33f/openapi-changes/cmd
model/commit.go:7:2: missing go.sum entry for module providing package github.com/pb33f/libopenapi (imported by github.com/pb33f/openapi-changes/git); to add:
    go get github.com/pb33f/openapi-changes/git
git/read_local.go:12:2: missing go.sum entry for module providing package github.com/pb33f/libopenapi/datamodel (imported by github.com/pb33f/openapi-changes/git); to add:
    go get github.com/pb33f/openapi-changes/git

How to reproduce

  1. clean fresh repository
  2. go build

fixable by running go get github.com/pb33f/openapi-changes/cmd

daveshanley commented 6 months ago

fixed.