We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b4f3d6 commit 9623f70Copy full SHA for 9623f70
README.md
@@ -26,6 +26,8 @@ Configure {swagger-express} as express middleware.
26
27
`swaggerJSON` -> Path to use for swagger ui JSON.
28
29
+`basePath` -> (optional) The basePath for swagger.js
30
+
31
`apis` -> Define your api array.
32
33
```
@@ -39,6 +41,7 @@ app.configure(function(){
39
41
swaggerURL: '/swagger',
40
42
swaggerJSON: '/api-docs.json',
43
swaggerUI: './public/swagger/',
44
+ basePath: 'http://localhost:3000',
45
apis: ['./api.js', './api.yml']
46
}));
47
app.use(app.router);
0 commit comments