Skip to content

Commit

Permalink
Fix method and property regular expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-r-thorpe committed Apr 26, 2024
1 parent 94edae4 commit 3139334
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions APIs/ConfigurationAPI.raml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ documentation:
uriParameters:
methodId:
type: string
pattern: "^[0-9]+m[0-9]+$"
pattern: "^[0-9]+m[0-9]+"
patch:
description: 'Invoke method.'
body:
Expand Down Expand Up @@ -141,7 +141,7 @@ documentation:
uriParameters:
methodId:
type: string
pattern: "^[0-9]+p[0-9]+$"
pattern: "^[0-9]+p[0-9]+"
get:
description: 'Get attributes of a Property'
responses:
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/methods-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Configuration API /rolePaths/{rolePath}/methods base",
"items": {
"type": "string",
"pattern": "^[0-9]+m[0-9]+$"
"pattern": "^[0-9]+m[0-9]+"
},
"uniqueItems": true
}
2 changes: 1 addition & 1 deletion APIs/schemas/properties-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Configuration API /rolePaths/{rolePath}/properties base",
"items": {
"type": "string",
"pattern": "^[0-9]+p[0-9]+$"
"pattern": "^[0-9]+p[0-9]+"
},
"uniqueItems": true
}

0 comments on commit 3139334

Please sign in to comment.