Update api generation with https://github.com/fabpot/Sami.