Fixed swagger-ui to version 2.0.17. For some reason newer versions don't work.