Skip to content

Commit

Permalink
chore: hide internal endpoints in API-DOC
Browse files Browse the repository at this point in the history
- add a new tag `Internal` in api documentation
- exclude `Internal` tag from doc generation process in release workflow
  • Loading branch information
Angak0k committed Jan 23, 2024
1 parent c23e859 commit 07083fb
Show file tree
Hide file tree
Showing 7 changed files with 568 additions and 3,226 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Generate Swagger Documentation
run: |
# Generate Swagger documentation
$(go env GOPATH)/bin/swag init
$(go env GOPATH)/bin/swag init --tags \!Internal
# Configure Git
git config --local user.email "action@github.com"
Expand Down
Loading

0 comments on commit 07083fb

Please sign in to comment.