Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Allow : in apiparam names.
Browse files Browse the repository at this point in the history
  • Loading branch information
rottmann committed Dec 14, 2015
1 parent 7743b89 commit 9816361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parsers/api_param.js
Expand Up @@ -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
Expand Down

0 comments on commit 9816361

Please sign in to comment.