Rails API integrated with swagger