Skip to content

Commit

Permalink
chore: add jsonDocumentUrl to swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal committed Jul 15, 2024
1 parent c73177d commit 5cfc619
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/app-bootstrap.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ export class AppBootstrap<
this.getApp(),
this.buildSwaggerConfig().build(),
);
SwaggerModule.setup('api', this.getApp(), document);
SwaggerModule.setup('api', this.getApp(), document, {
jsonDocumentUrl: '/api/json',

Check failure on line 183 in app/src/app-bootstrap.helper.ts

View workflow job for this annotation

GitHub Actions / Common libs build tests

Argument of type '{ jsonDocumentUrl: string; }' is not assignable to parameter of type 'SwaggerCustomOptions'.
});
}

useContainer(this.getApp().select(this.getModule()), {
Expand Down

0 comments on commit 5cfc619

Please sign in to comment.