Skip to content

Commit

Permalink
fix(includers/openapi): add allOf property
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgenii Fedoseev authored and moki committed Mar 13, 2023
1 parent 6ea381e commit 647120e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function merge(value: OpenJSONSchemaDefinition): OpenJSONSchema {
properties[k] = v;
}
}
return {type: 'object', description, properties};
return {type: 'object', description, properties, allOf: value.allOf};
}

function isRequired(key: string, value: JSONSchema6): boolean {
Expand Down

0 comments on commit 647120e

Please sign in to comment.