How to replace Swagger UI header logo in Swashbuckle

前端 未结 7 1369
旧巷少年郎
旧巷少年郎 2020-12-31 09:11

I am using the Swashbuckle package for WebAPI and am attempting to customize the look and feel of the swagger ui default page. I would like to customize the default swagger

7条回答
  •  春和景丽
    2020-12-31 09:47

    @MichaelD can simply do the following instead:

    .logo__img {
        content: url([PathToLogo]);
        width: 72px; /* Width of new image */
        height: 31px; /* Height of new image */
    }
    

提交回复
热议问题