@staticmethod<EOL><INDENT>def _make_routing_list(api_provider):<DEDENT>
routes = []<EOL>for api in api_provider.get_all():<EOL><INDENT>route = Route(methods=[api.method], function_name=api.function_name, path=api.path,<EOL>binary_types=api.binary_media_types)<EOL>routes.append(route)<EOL><DEDENT>return routes<EOL>
Returns a list of routes to configure the Local API Service based on the APIs configured in the template.

Parameters
----------
api_provider : samcli.commands.local.lib.sam_api_provider.SamApiProvider

Returns
-------
list(samcli.local.apigw.service.Route)
    List of Routes to pass to the service