From 993757e58c03ba363931d1c8e95871647c12e80f Mon Sep 17 00:00:00 2001 From: Jeongho Nam Date: Wed, 25 Sep 2024 15:10:26 +0900 Subject: [PATCH] Upgrade `@samchon/openapi` --- package.json | 6 +++--- src/ISwaggerSchema.ts | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 95872d1..3124802 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wrtnio/schema", - "version": "1.0.4", + "version": "1.0.5", "description": "JSON and LLM function calling schemas extended for Wrtn Studio Pro", "main": "lib/index.js", "module": "./lib/index.mjs", @@ -31,10 +31,10 @@ }, "homepage": "https://github.com/wrtnio/schema#readme", "dependencies": { - "@samchon/openapi": "^1.0.3" + "@samchon/openapi": "^1.0.5" }, "peerDependencies": { - "@samchon/openapi": ">=1.0.3" + "@samchon/openapi": ">=1.0.5" }, "devDependencies": { "@rollup/plugin-terser": "^0.4.4", diff --git a/src/ISwaggerSchema.ts b/src/ISwaggerSchema.ts index 2543a9d..7325ac9 100644 --- a/src/ISwaggerSchema.ts +++ b/src/ISwaggerSchema.ts @@ -132,9 +132,7 @@ export namespace ISwaggerSchema { * defined `anyOf` instead of the `oneOf`, {@link OpenApi} forcibly * converts it to `oneOf` type. */ - export interface IOneOf - extends OpenApi.IJsonSchema.__IAttribute, - ISwaggerSchemaPlugin { + export interface IOneOf extends Omit { /** * List of the union types. */