fix: fetch OpenAPI doc from browser to avoid Docker network isolation, add Swagger 2.0 support

This commit is contained in:
2026-04-02 14:51:43 +08:00
parent 5f76abec8b
commit 6aaba810d8
3 changed files with 94 additions and 24 deletions

View File

@@ -8,6 +8,8 @@ services:
context: .
dockerfile: packages/server/Dockerfile
target: deps
extra_hosts:
- "host.docker.internal:host-gateway"
command: >
sh -c "
npx prisma generate --schema=prisma/schema.prisma &&