Closed cgd1 closed 2 years ago
Hello,
I'm trying to load custom css and logo with no luck.
const options = { customCss: '#header {display: none }', swaggerDefinition: { openapi: "3.0.3", info: { "title": "TITLE", "description": ".", "x-logo": { "url": "https://cdn.worldvectorlogo.com/logos/quartz.svg", "backgroundColor": "#FFFFFF" }, "termsOfService": "/terms", "contact": { "name": "API Support", "url": "/support" }, "license": { "name": "Home Page", "url": "/news" }, "version": "v0.2a" }, }, apis: ['../endpoints/*.js'] };
Not sure what I am doing wrong, any help would be greatly appreciated!
Have you tried following the example in the docs? https://www.npmjs.com/package/swagger-ui-express#custom-css-styles
Not working for me as well. I tried following the example but no luck.
Hello,
I'm trying to load custom css and logo with no luck.
Not sure what I am doing wrong, any help would be greatly appreciated!