Skip to content

Commit

Permalink
Merge pull request #3 from wrtnio/feature/integer
Browse files Browse the repository at this point in the history
Fix `ISwaggerSchema.IOneOf` type
  • Loading branch information
samchon authored Sep 25, 2024
2 parents ffbdbe0 + 9528257 commit f059e4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 3 additions & 1 deletion src/ISwaggerSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<OpenApi.IJsonSchema.IOneOf, "oneOf"> {
export interface IOneOf
extends Omit<OpenApi.IJsonSchema.IOneOf, "oneOf">,
ISwaggerSchemaPlugin {
/**
* List of the union types.
*/
Expand Down

0 comments on commit f059e4b

Please sign in to comment.