Skip to content

Commit

Permalink
Merge pull request #2696 from devoto13/no-refs
Browse files Browse the repository at this point in the history
feat: Disable refs in the generated Yaml file
  • Loading branch information
kamilmysliwiec authored Nov 8, 2023
2 parents 2034bb5 + 2fafb80 commit cf4f7bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/swagger-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ export class SwaggerModule {
: document;

const yamlDocument = jsyaml.dump(documentToSerialize, {
skipInvalid: true
skipInvalid: true,
noRefs: true
});
res.send(yamlDocument);
});
Expand Down

0 comments on commit cf4f7bc

Please sign in to comment.