How to remove the Label "Nest framework TypeScript starter repository" in Swagger Doc?
honigkuchenbaer opened this issue · 1 comments
honigkuchenbaer commented
The Swagger Doc renders automatically the following sentence:
"Nest framework TypeScript starter repository"
Can we change this somehow with our own introduction?
itinance commented
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.