Permalink
Browse files

Allow : in apiparam names.

  • Loading branch information...
1 parent 7743b89 commit 981636130b88dde0901a1cd59c155ff3284fe814 @rottmann rottmann committed Dec 14, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/parsers/api_param.js
@@ -36,7 +36,7 @@ var regExp = {
},
wName: {
b: '(\\[?\\s*', // 5 optional optional-marker
- name: '([a-zA-Z0-9\\.\\/\\\\_-]+', // 6
+ name: '([a-zA-Z0-9\\:\\.\\/\\\\_-]+', // 6
withArray: '(?:\\[[a-zA-Z0-9\\.\\/\\\\_-]*\\])?)', // https://github.com/apidoc/apidoc-core/pull/4
oDefaultValue: { // optional defaultValue
b: '(?:\\s*=\\s*(?:', // starting with '=', optional surrounding spaces

0 comments on commit 9816361

Please sign in to comment.