the method uses grape's params dsl to generate the documentation, it's by no means portable... i suppose if the lib supported more than one api framework we could make it more generic...