diff --git a/debug/create-schemas.config.ts b/debug/create-schemas.config.ts index 96da97d..d177f01 100644 --- a/debug/create-schemas.config.ts +++ b/debug/create-schemas.config.ts @@ -1,8 +1,8 @@ import { defineConfig } from "@workleap/create-schemas"; -import { openapiFetchPlugin, unstable_openapiMSWPlugin } from "@workleap/create-schemas/plugins"; +import { openapiFetchPlugin, experimental_openapiMSWPlugin } from "@workleap/create-schemas/plugins"; export default defineConfig({ input: "v1.yaml", outdir: "src/codegen/v1", - plugins: [openapiFetchPlugin(), unstable_openapiMSWPlugin()] + plugins: [openapiFetchPlugin(), experimental_openapiMSWPlugin()] }); diff --git a/debug/src/codegen/v1/openapi-msw.ts b/debug/src/codegen/v1/openapi-msw.ts index b4e81ac..a90526f 100644 --- a/debug/src/codegen/v1/openapi-msw.ts +++ b/debug/src/codegen/v1/openapi-msw.ts @@ -1,4 +1,5 @@ /** This file has been generated by @workleap/create-schemas (https://github.com/gsoft-inc/wl-openapi-typescript). Do not modify manually. */ import type { paths } from "./types.ts"; import { createOpenApiHttp } from "openapi-msw"; + export const http = createOpenApiHttp(); \ No newline at end of file