Add settings flag to make swagger route  optional
Add route for showing swagger