aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-11 12:10:06 +0900
committernsfisis <nsfisis@gmail.com>2024-08-11 12:32:28 +0900
commit729bd4e58ebfc1a46fa69f09179effe83b5b28cb (patch)
tree83f34ff1d38dcdb0dc45076910867aad757028ee /backend
parentc702d665a4ea3ea17005d4122fbd2a41180d5e6a (diff)
downloadiosdc-japan-2025-albatross-729bd4e58ebfc1a46fa69f09179effe83b5b28cb.tar.gz
iosdc-japan-2025-albatross-729bd4e58ebfc1a46fa69f09179effe83b5b28cb.tar.zst
iosdc-japan-2025-albatross-729bd4e58ebfc1a46fa69f09179effe83b5b28cb.zip
refactor: move openapi.yaml to openapi/
Diffstat (limited to 'backend')
-rw-r--r--backend/gen/gen.go2
-rw-r--r--backend/gen/oapi-codegen.api-server.yaml (renamed from backend/gen/oapi-codegen.yaml)0
2 files changed, 1 insertions, 1 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