Skip to content

Commit

Permalink
Merge pull request #192 from shikharish/swag
Browse files Browse the repository at this point in the history
Fixed swaggo docs FINAL
  • Loading branch information
harshkhandeparkar authored Jan 5, 2024
2 parents 5ef3fe1 + 67c30a8 commit 8d31101
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/swagger_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ jobs:
git merge -S 'origin/${{ github.ref_name }}'
- name: Generate swagger.yaml and exit if no changes
run: swag init --parseDependency --parseInternal -g cmd/backend.go --ot yaml
run: |
go mod download
go mod tidy
swag init --parseDependency --parseInternal -g cmd/backend.go --ot yaml
- name: Generate the html doc
run: |
Expand Down

0 comments on commit 8d31101

Please sign in to comment.