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. */