Patch for support multiple grape api endpoint