Skip to content

Commit 2fafb80

Browse files
committed
feat: Disable refs in the generated Yaml file
1 parent 2034bb5 commit 2fafb80

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/swagger-module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ export class SwaggerModule {
266266
: document;
267267

268268
const yamlDocument = jsyaml.dump(documentToSerialize, {
269-
skipInvalid: true
269+
skipInvalid: true,
270+
noRefs: true
270271
});
271272
res.send(yamlDocument);
272273
});

0 commit comments

Comments
 (0)