Skip to content

Commit

Permalink
Merge pull request #97 from RobinTail/patch-1
Browse files Browse the repository at this point in the history
4.0: Expose SchemaObjectType for 3.1 model
  • Loading branch information
pjmolina authored Mar 29, 2023
2 parents 8110e5f + e3d5391 commit 3697788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/openapi31.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3697788

Please sign in to comment.