diff --git a/endpoints/api/discovery.py b/endpoints/api/discovery.py index c688feb4e..f496ce2ee 100644 --- a/endpoints/api/discovery.py +++ b/endpoints/api/discovery.py @@ -17,7 +17,7 @@ from endpoints.api import (ApiResource, resource, method_metadata, nickname, tru logger = logging.getLogger(__name__) -PARAM_REGEX = re.compile(r'<([\w]+:)?([\w]+)>') +PARAM_REGEX = re.compile(r'<([^:>]+:)*([\w]+)>') TYPE_CONVERTER = {