Skip to content

Commit

Permalink
fix: adds optional to SchemaObject
Browse files Browse the repository at this point in the history
  • Loading branch information
NoodleOfDeath committed Oct 21, 2022
1 parent 9b58193 commit 4cbaa39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/openapi-types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export namespace OpenAPIV3 {
type?: NonArraySchemaObjectType;
}

export interface BaseSchemaObject {
export interface BaseSchemaObject extends Partial<ReferenceObject> {
// JSON schema allowed properties, adjusted for OpenAPI
title?: string;
description?: string;
Expand Down

0 comments on commit 4cbaa39

Please sign in to comment.