Category: swagger

Change default title of swagger ui from node js application

Normally, if you are using swagger-tools to autogenerate API specifications, you will have by default the title of you site with “Swagger UI”. Following steps will have you to replace it with your title. Mac OS or Linux environment: 1- vi node_modules/swagger-tools/middleware/swagger-ui/index.html <head> <meta charset=”UTF-8″> <title>YOUR WEBSITE TITLE</title> <link href=”https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700″ rel=”stylesheet”> <link rel=”stylesheet” type=”text/css” href=”./swagger-ui.css” > …