Skip to content

Commit

Permalink
Fix swagger cannot import struct from model
Browse files Browse the repository at this point in the history
  • Loading branch information
slhmy committed Oct 8, 2023
1 parent 22b00a2 commit a35a875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ gen-proto: install-tools
.PHONY: gen-swagger
gen-swagger: install-tools
swag fmt -d application/server
swag init -d application/server -ot go -o application/server/swaggo-gen
swag init -d application/server,service/model -ot go -o application/server/swaggo-gen

.PHONY: build
build: gen-proto gen-swagger
Expand Down

0 comments on commit a35a875

Please sign in to comment.