api working with grape and swagger