diff options
| -rw-r--r-- | backend/gen/gen.go | 2 | ||||
| -rw-r--r-- | backend/gen/oapi-codegen.api-server.yaml (renamed from backend/gen/oapi-codegen.yaml) | 0 | ||||
| -rw-r--r-- | frontend/package.json | 2 | ||||
| -rw-r--r-- | openapi/api-server.yaml (renamed from openapi.yaml) | 0 |
4 files changed, 2 insertions, 2 deletions
diff --git a/backend/gen/gen.go b/backend/gen/gen.go index 276bc05..2b39122 100644 --- a/backend/gen/gen.go +++ b/backend/gen/gen.go @@ -1,6 +1,6 @@ package gen //go:generate go run github.com/sqlc-dev/sqlc/cmd/sqlc generate -//go:generate go run github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen -config oapi-codegen.yaml ../../openapi.yaml +//go:generate go run github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen -config oapi-codegen.api-server.yaml ../../openapi/api-server.yaml //go:generate go run ./api/handler_wrapper_gen.go -i ../api/generated.go -o ../api/handler_wrapper.go //go:generate go run ./taskqueue/processor_wrapper_gen.go -i ../taskqueue/tasks.go -o ../taskqueue/processor_wrapper.go diff --git a/backend/gen/oapi-codegen.yaml b/backend/gen/oapi-codegen.api-server.yaml index a581c6c..a581c6c 100644 --- a/backend/gen/oapi-codegen.yaml +++ b/backend/gen/oapi-codegen.api-server.yaml diff --git a/frontend/package.json b/frontend/package.json index 4c630a0..b8b9e93 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,7 +10,7 @@ "check:eslint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .", "check:ts": "tsc", "dev": "remix vite:dev", - "openapi-typescript": "openapi-typescript --output ./app/.server/api/schema.d.ts ../openapi.yaml", + "openapi-typescript": "openapi-typescript --output ./app/.server/api/schema.d.ts ../openapi/api-server.yaml", "start": "remix-serve ./build/server/index.js" }, "dependencies": { diff --git a/openapi.yaml b/openapi/api-server.yaml index 54f9f3c..54f9f3c 100644 --- a/openapi.yaml +++ b/openapi/api-server.yaml |
