addons14/base_rest/apispec/restapi_method_route_plugin.py
def route2openapi(path):
        """Convert an odoo route to an OpenAPI-compliant path.

        :param str path: Odoo route path template.
        """
        return RE_URL.sub(r"{\1}", path)
Convert an odoo route to an OpenAPI-compliant path.

        :param str path: Odoo route path template.
        
Convert an odoo route to an OpenAPI-compliant path.
Convert an odoo route to an OpenAPI - compliant path .
def route2openapi(path):
        return RE_URL.sub(r"{\1}", path)
def route2openapi ( path ) : return RE_URL . sub ( r"{\1}" , path )
Convert an odoo route to an OpenAPI-compliant path.
Convert an odoo route to an OpenAPI - compliant path .
"""Convert an odoo route to an OpenAPI-compliant path.

        :param str path: Odoo route path template.
        """
path
Odoo route path template.
Odoo route path template .