From 9528257de18f947b4edc5c96e502535f300967a0 Mon Sep 17 00:00:00 2001 From: Jeongho Nam Date: Wed, 25 Sep 2024 16:09:20 +0900 Subject: [PATCH] Fix `ISwaggerSchema.IOneOf` type --- package.json | 2 +- src/ISwaggerSchema.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3124802..f9eef45 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wrtnio/schema", - "version": "1.0.5", + "version": "1.0.6", "description": "JSON and LLM function calling schemas extended for Wrtn Studio Pro", "main": "lib/index.js", "module": "./lib/index.mjs", diff --git a/src/ISwaggerSchema.ts b/src/ISwaggerSchema.ts index 7325ac9..64b2adc 100644 --- a/src/ISwaggerSchema.ts +++ b/src/ISwaggerSchema.ts @@ -132,7 +132,9 @@ export namespace ISwaggerSchema { * defined `anyOf` instead of the `oneOf`, {@link OpenApi} forcibly * converts it to `oneOf` type. */ - export interface IOneOf extends Omit { + export interface IOneOf + extends Omit, + ISwaggerSchemaPlugin { /** * List of the union types. */