add swagger docs

This commit is contained in:
2026-06-20 15:53:39 +07:00
parent b6e8b2576a
commit bec73c4836
5 changed files with 27 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ generate:
--go_out ./proto --go_opt paths=source_relative \
--go-grpc_out ./proto --go-grpc_opt paths=source_relative \
--grpc-gateway_out ./proto --grpc-gateway_opt paths=source_relative,generate_unbound_methods=true \
--openapiv2_out ./proto --openapiv2_opt allow_merge=true,merge_file_name=main \
--openapiv2_out=./cmd/${REPO_NAME_SNAKE} --openapiv2_opt allow_merge=true,merge_file_name=main \
./api/main.proto
run: