1
0
Fork 0

fixed string constraints

This commit is contained in:
Frank Celler 2014-06-12 13:42:46 +02:00
parent 3900902821
commit 1aa671ed8c
1 changed files with 1 additions and 1 deletions

View File

@ -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);