Skip to content

Commit

Permalink
Update openapi.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdihadeli committed Apr 6, 2024
1 parent 5379a1a commit dc7611c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/openapi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ set -e

readonly service="$1"

# https://github.com/swaggo/swag/issues/817
swag init --parseDependency --parseInternal --parseDepth 1 -g ./cmd/app/main.go -d "./internal/services/$service/" -o "./internal/services/$service/docs"
swag init --parseDependency --parseInternal --parseDepth 1 -g ./cmd/app/main.go -d "./internal/services/$service/" -o "./api/openapi/$service/"

0 comments on commit dc7611c

Please sign in to comment.