Skip to content

Commit

Permalink
Merge pull request #109 from samchungy/type-fixes
Browse files Browse the repository at this point in the history
Fix Up Types
  • Loading branch information
pjmolina authored Apr 10, 2023
2 parents b97d83b + b4e324b commit 9fc6f5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/model/openapi30.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ export interface SchemaObject extends ISpecificationExtension {
minProperties?: number;
required?: string[];
enum?: any[];
prefixItems?: (SchemaObject | ReferenceObject)[];
}

/**
Expand Down
5 changes: 1 addition & 4 deletions src/model/openapi31.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,6 @@ export interface SchemaObject extends ISpecificationExtension {
writeOnly?: boolean;
xml?: XmlObject;
externalDocs?: ExternalDocumentationObject;
/**
* |@deprecated Deprecated in v.3.1.0 in favour of examples
* */
example?: any;
examples?: any[];
deprecated?: boolean;

Expand Down Expand Up @@ -316,6 +312,7 @@ export interface SchemaObject extends ISpecificationExtension {
minProperties?: number;
required?: string[];
enum?: any[];
prefixItems?: (SchemaObject | ReferenceObject)[];
}

/**
Expand Down

0 comments on commit 9fc6f5f

Please sign in to comment.