Skip to content

Commit

Permalink
Merge pull request #264 from soulim/single-character-path-segments
Browse files Browse the repository at this point in the history
Allow single character path segments
  • Loading branch information
geemus committed Dec 21, 2015
2 parents fa0a688 + 2dadb1e commit 9414e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemas/interagent-hyper-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"resourceLink": {
"properties": {
"href": {
"pattern": "^(/([a-z0-9][a-z0-9_\\-]*[a-z0-9]|\\{\\(.*\\)\\}))+$"
"pattern": "^(\/((?!-|_)[a-z0-9_\\-]+(?<!-|_)|\\{\\(.*\\)\\}))+$"
},
"schema": {
"anyOf": [
Expand Down

0 comments on commit 9414e9c

Please sign in to comment.