Updated swagger-client and fixed api changes.