Skip to content

Commit 476a2af

Browse files
committed
Fix swagger parsing
1 parent a71474c commit 476a2af

File tree

5 files changed

+1149
-1150
lines changed

5 files changed

+1149
-1150
lines changed

api/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COPY . .
1515
RUN go get github.com/swaggo/swag/gen@latest
1616
RUN go get github.com/swaggo/swag/cmd/swag@latest
1717
RUN go install github.com/swaggo/swag/cmd/swag
18-
RUN swag init
18+
RUN swag init --requiredByDefault --parseDependency --parseInternal
1919

2020
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.Version=$GIT_COMMIT" -o /bin/http-sms .
2121

0 commit comments

Comments
 (0)