Skip to content

Commit

Permalink
Merge pull request #346 from spacemeshos/fix-makefile-openapi-path
Browse files Browse the repository at this point in the history
update makefile openapi path
  • Loading branch information
kacpersaw committed Jun 18, 2024
2 parents a83986a + 35d4218 commit a2a4c4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ breaking: $(BUF)
.PHONY: build
build: $(BUF)
buf generate
swagger flatten --with-flatten=remove-unused release/openapi/api.swagger.json -o release/openapi/api.swagger.json
swagger flatten --with-flatten=remove-unused release/openapi/swagger/src/api.swagger.json -o release/openapi/swagger/src/api.swagger.json

# Make sure build is up to date
.PHONY: check
Expand Down
2 changes: 1 addition & 1 deletion buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ plugins:
- paths=source_relative
- generate_unbound_methods=true
- name: openapiv2
out: release/openapi
out: release/openapi/swagger/src
strategy: all
opt:
- generate_unbound_methods=true
Expand Down

0 comments on commit a2a4c4e

Please sign in to comment.