Skip to content

Commit

Permalink
Edit swagger custom css and set version as alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejkang committed Aug 10, 2021
1 parent ce5394d commit d372b51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ async function setupDocument(app: INestApplication) {
.setDescription(
'An unofficial driver license verification crawler API service with live status check support.',
)
.setVersion('0.0')
.setVersion('Alpha')
.build();

const document = SwaggerModule.createDocument(app, config);
SwaggerModule.setup('docs', app, document, {
customCss: `
.topbar { display: none; }
.swagger-ui { padding-top: 50px }`,
.swagger-ui { padding-top: 50px; }`,
customSiteTitle: 'Driver License Verification API',
});
}
Expand Down

0 comments on commit d372b51

Please sign in to comment.