nestjs/typescript-starter

How to remove the Label "Nest framework TypeScript starter repository" in Swagger Doc?

honigkuchenbaer opened this issue · 1 comments

The Swagger Doc renders automatically the following sentence:

"Nest framework TypeScript starter repository"

Can we change this somehow with our own introduction?

Screenshot 2022-04-09 at 13 23 28

In main.ts you should have code like the following:

  const swaggerConfig = new DocumentBuilder()
    .setTitle(title)
    .setDescription(process.env.npm_package_description)
    .setVersion(version)
    .build();

setDescription is the method of your choice to change this text in question.