Skip to content

Commit 01577b5

Browse files
authored
Merge pull request #3 from Muhammad-Altabba/multi-modifications
fix: not rendering `default` for referenced objects
2 parents 84a6fc6 + f280077 commit 01577b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/converter/convert-schemas.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ function createModelOrRef(
167167
kind: 'ref',
168168
ref: {
169169
...ref,
170+
...convertSchema(schema, exportedSchemas),
170171
...schemaToMeta(schema, implicitOptional),
171172
},
172173
};

0 commit comments

Comments
 (0)