From e3d53912b20d7b82eeed413e4be4f06743457711 Mon Sep 17 00:00:00 2001 From: Anna Bocharova Date: Tue, 28 Mar 2023 00:25:09 +0200 Subject: [PATCH] 4.0: Expose SchemaObjectType for OAS 3.1 --- src/model/openapi31.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/openapi31.ts b/src/model/openapi31.ts index 71eca89..e1ac129 100644 --- a/src/model/openapi31.ts +++ b/src/model/openapi31.ts @@ -252,7 +252,7 @@ export function isReferenceObject(obj: any): obj is ReferenceObject { return Object.prototype.hasOwnProperty.call(obj, '$ref'); } -type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array'; +export type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array'; export interface SchemaObject extends ISpecificationExtension { /** nullable supported in v. 3.1.0 */