chore: Add Swagger documentation generation to build workflow
- Included a step to generate Swagger documentation during the build process. - This addition enhances API documentation and ensures it is up-to-date with the codebase.
This commit is contained in:
@@ -26,6 +26,9 @@ jobs:
|
||||
- name: Download dependencies
|
||||
run: go mod download
|
||||
|
||||
- name: Generate Swagger docs
|
||||
run: swag init -g cmd/server/main.go -o docs
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
GOOS: linux
|
||||
|
||||
Reference in New Issue
Block a user