From 1aa671ed8cc7ad844e1f0dac236b93fe0303f53d Mon Sep 17 00:00:00 2001 From: Frank Celler Date: Thu, 12 Jun 2014 13:42:46 +0200 Subject: [PATCH] fixed string constraints --- js/server/modules/org/arangodb/foxx/request_context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);