require base path. match swagger json endpoints based on the full path which may include any parts from the basePath after the host.
set version of express to 3.5.1 since v4.0.0 doesnt work with the example app.
remove doc about basePath being optional.