Skip to content

Commit

Permalink
Pin swagger version
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean-Coakley committed Mar 11, 2024
1 parent 19a39f2 commit 52f4593
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ format: ## Format code
buf format -w ./sdk/proto/

generate-swagger: ## Generates swagger.json from source code
$(GORUN) github.com/go-swagger/go-swagger/cmd/swagger generate spec -o ./docs/swagger.json --scan-models
$(GORUN) $(GO_SWAGGER) generate spec -o ./docs/swagger.json --scan-models

launch-swagger-ui: generate-swagger ## Launch Swagger UI
$(GORUN) github.com/go-swagger/go-swagger/cmd/swagger serve ./docs/swagger.json -F=swagger --port=8082 --no-open
$(GORUN) $(GO_SWAGGER) serve ./docs/swagger.json -F=swagger --port=8082 --no-open

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Local Packaging #
Expand Down
2 changes: 1 addition & 1 deletion Makefile.tools
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
BUF = "github.com/bufbuild/buf/cmd/[email protected]"
OAPI_CODEGEN = "github.com/deepmap/oapi-codegen/v2/cmd/[email protected]"
LEFTHOOK = "github.com/evilmartians/[email protected]"
GO_SWAGGER = "github.com/go-swagger/go-swagger/cmd/[email protected]"
GO_SWAGGER = "github.com/go-swagger/go-swagger/cmd/swagger@abb53530bfcf49c470e5f4c7071ee43f37ec7437" # v0.30.5 currently broken. Update expected shortly. Ref: https://github.com/go-swagger/go-swagger/issues/3070
PROTOBUF = "github.com/gogo/protobuf/[email protected]"
GOLANGCI_LINT = "github.com/golangci/golangci-lint/cmd/[email protected]"
PROTOC_GENGO = "google.golang.org/protobuf/cmd/[email protected]"
Expand Down

0 comments on commit 52f4593

Please sign in to comment.