From 23bf3038e849909238d8204820ee06ca5bfec3e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tommy=20Jos=C3=A9povic?= Date: Mon, 29 Jul 2024 12:02:02 -0400 Subject: [PATCH] update debug --- debug/create-schemas.config.ts | 4 ++-- debug/src/codegen/v1/openapi-msw.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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