Skip to content

Commit

Permalink
fix: Fix generate swagger open api separately for each microservice.
Browse files Browse the repository at this point in the history
  • Loading branch information
meysamhadeli committed Apr 8, 2024
1 parent 2416258 commit 0d1cd0a
Show file tree
Hide file tree
Showing 13 changed files with 1,533 additions and 1,173 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ proto_identities_get_user_by_id_service:

swagger_products:
@echo Starting swagger generating
swag init -g ./internal/services/product_service/cmd/main.go -o ./internal/services/product_service/docs
swag init -g ./internal/services/product_service/cmd/main.go -o ./internal/services/product_service/docs --exclude ./internal/services/identity_service, ./internal/services/inventory_service

swagger_identities:
@echo Starting swagger generating
swag init -g ./internal/services/identity_service/cmd/main.go -o ./internal/services/identity_service/docs
swag init -g ./internal/services/identity_service/cmd/main.go -o ./internal/services/identity_service/docs --exclude ./internal/services/product_service, ./internal/services/inventory_service

swagger_inventories:
@echo Starting swagger generating
swag init -g ./internal/services/inventory_service/cmd/main.go -o ./internal/services/inventory_service/docs
swag init -g ./internal/services/inventory_service/cmd/main.go -o ./internal/services/inventory_service/docs --exclude ./internal/services/product_service, ./internal/services/identity_service
Loading

0 comments on commit 0d1cd0a

Please sign in to comment.