You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running make help installs swagger, performs several swagger generate commands, and then fails.
Version
Current main branch.
Current Output
$ make help
cd hack/tools; go build -trimpath -tags=tools -o /home/bmitch/data/git/github.com/sigstore/rekor/hack/tools/bin/swagger github.com/go-swagger/go-swagger/cmd/swagger
go: downloading github.com/go-swagger/go-swagger v0.30.4
go: downloading github.com/jessevdk/go-flags v1.5.0
go: downloading github.com/go-openapi/runtime v0.25.0
go: downloading github.com/go-openapi/spec v0.20.8
go: downloading github.com/spf13/viper v1.14.0
go: downloading github.com/Masterminds/sprig/v3 v3.2.3
go: downloading github.com/go-openapi/inflect v0.19.0
go: downloading github.com/kr/pretty v0.3.1
go: downloading github.com/felixge/httpsnoop v1.0.3
go: downloading go.mongodb.org/mongo-driver v1.11.1
go: downloading github.com/rogpeppe/go-internal v1.9.0
go: downloading github.com/huandu/xstrings v1.3.3
go: downloading github.com/shopspring/decimal v1.3.1
/home/bmitch/data/git/github.com/sigstore/rekor/hack/tools/bin/swagger validate openapi.yaml
2023/05/01 16:45:09
The swagger spec at "openapi.yaml" is valid against swagger specification 2.0
2023/05/01 16:45:09
The swagger spec at "openapi.yaml" showed up some valid but possibly unwanted constructs.
2023/05/01 16:45:09 See warnings below:
2023/05/01 16:45:09 - WARNING: definition "#/definitions/alpine" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/jar" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/helm" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/cose" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/rfc3161" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/tuf" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/rekord" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/rpm" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/hashedrekord" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/intoto" is not used anywhere
/home/bmitch/data/git/github.com/sigstore/rekor/hack/tools/bin/swagger generate client -f openapi.yaml -q -r COPYRIGHT.txt -t pkg/generated --additional-initialism=TUF
/home/bmitch/data/git/github.com/sigstore/rekor/hack/tools/bin/swagger generate server -f openapi.yaml -q -r COPYRIGHT.txt -t pkg/generated --exclude-main -A rekor_server --flag-strategy=pflag --default-produces application/json --additional-initialism=TUF
awk: line 2: syntax error at or near printf
Expected Output
$ make help
clean Cleans up from a previous install
lint Runs golang-ci-lint
test Runs go tests
...
The text was updated successfully, but these errors were encountered:
Description
Running
make help
installs swagger, performs several swagger generate commands, and then fails.Version
Current main branch.
Current Output
Expected Output
The text was updated successfully, but these errors were encountered: