Closed bulog closed 2 years ago
We want to disable the validator badge, so we tried to add option validatorUrl: null to swagger-ui swaggerConfiguration
validatorUrl: null
swaggerConfiguration
const swaggerRouter = new SwaggerRouter(); swaggerRouter.swagger({ ... //swagger ui config https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/ swaggerConfiguration: { display: { validatorUrl: null } } });
But, this did not works, and we tried a few fixes by change the file ./dist/swaggerHTML.js, and it works
./dist/swaggerHTML.js
We want to disable the validator badge, so we tried to add option
validatorUrl: null
to swagger-uiswaggerConfiguration
But, this did not works, and we tried a few fixes by change the file
./dist/swaggerHTML.js
, and it works