diff --git a/js/server/modules/org/arangodb/foxx/request_context.js b/js/server/modules/org/arangodb/foxx/request_context.js index 07d081f957..aa5b0ec4dc 100644 --- a/js/server/modules/org/arangodb/foxx/request_context.js +++ b/js/server/modules/org/arangodb/foxx/request_context.js @@ -143,7 +143,7 @@ RequestContext = function (executionBuffer, models, route) { this.typeToRegex = { "int": "/[0-9]+/", "integer": "/[0-9]+/", - "string": "/.+/" + "string": "/[^/]+/" }; this.docs = new SwaggerDocs(this.route.docs, models);