We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cb15b2 commit 64a3dc2Copy full SHA for 64a3dc2
src/openApi/v2/parser/getModelComposition.ts
@@ -52,7 +52,7 @@ export function getModelComposition(openApi: OpenApi, definition: OpenApiSchema,
52
properties.push(...modelProperties);
53
}
54
55
- if (properties) {
+ if (properties.length) {
56
composition.properties.push({
57
name: 'properties',
58
export: 'interface',
0 commit comments