Skip to content

Commit ae185f8

Browse files
committed
Format
1 parent fc4f1e2 commit ae185f8

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/compileValueSchema.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,7 @@ export function compileValueSchema(compiler: Compiler, schema: OpenAPIValueSchem
7373
}
7474

7575
function normalizePropertyNamesSchema(schema: OpenAPIPropertyNamesSchema): OpenAPIValueSchema {
76-
if (
77-
'type' in schema ||
78-
'anyOf' in schema ||
79-
'oneOf' in schema ||
80-
'allOf' in schema
81-
) {
76+
if ('type' in schema || 'anyOf' in schema || 'oneOf' in schema || 'allOf' in schema) {
8277
return schema;
8378
}
8479

0 commit comments

Comments
 (0)