mirror of https://gitee.com/bigwinds/arangodb
fixed string constraints
This commit is contained in:
parent
3900902821
commit
1aa671ed8c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue