From 2889b562e64993482bd13fd806af8ed0865bab8b Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 14 Feb 2026 11:52:56 +0900 Subject: refactor: migrate API from GraphQL to REST (TypeSpec/OpenAPI) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the entire GraphQL stack (gqlgen, urql, graphql-codegen) with a TypeSpec → OpenAPI 3.x pipeline using oapi-codegen for Go server stubs and openapi-fetch + openapi-typescript for the frontend client. Co-Authored-By: Claude Opus 4.6 --- frontend/graphql-codegen.ts | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 frontend/graphql-codegen.ts (limited to 'frontend/graphql-codegen.ts') diff --git a/frontend/graphql-codegen.ts b/frontend/graphql-codegen.ts deleted file mode 100644 index d5339a4..0000000 --- a/frontend/graphql-codegen.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { CodegenConfig } from "@graphql-codegen/cli"; - -const config: CodegenConfig = { - overwrite: true, - schema: "src/graphql/schema.graphql", - documents: ["src/graphql/*.graphql"], - generates: { - "src/graphql/generated/": { - preset: "client", - plugins: [], - config: { - enumsAsTypes: true, - skipTypename: true, - useTypeImports: true, - scalars: { - DateTime: "string", - }, - }, - }, - }, -}; - -export default config; -- cgit v1.3-1-g0d28