Moved the swagger dependency to the bottom to resolve the issue with wrong
version of the jersey-core to be used