Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion schema/auth.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"name": {
"type": "string",
"description": "Unique auth definition name",
"minLength": 1
"minLength": 1,
"pattern": "^[a-z0-9](-?[a-z0-9])*$"
},
"scheme": {
"type": "string",
Expand Down
3 changes: 2 additions & 1 deletion schema/errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"name": {
"type": "string",
"description": "Domain-specific error name",
"minLength": 1
"minLength": 1,
"pattern": "^[a-z0-9](-?[a-z0-9])*$"
},
"code": {
"type": "string",
Expand Down
3 changes: 2 additions & 1 deletion schema/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"name": {
"type": "string",
"description": "Unique event name",
"minLength": 1
"minLength": 1,
"pattern": "^[a-z0-9](-?[a-z0-9])*$"
},
"source": {
"type": "string",
Expand Down
9 changes: 6 additions & 3 deletions schema/functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"name": {
"type": "string",
"description": "Unique function name",
"minLength": 1
"minLength": 1,
"pattern": "^[a-z0-9](-?[a-z0-9])*$"
},
"operation": {
"type": "string",
Expand All @@ -58,7 +59,8 @@
{
"type": "string",
"description": "References the auth definition to be used to invoke the operation",
"minLength": 1
"minLength": 1,
"pattern": "^[a-z0-9](-?[a-z0-9])*$"
},
{
"type": "object",
Expand All @@ -67,7 +69,8 @@
"resource":{
"type": "string",
"description": "References an auth definition to be used to access the resource defined in the operation parameter",
"minLength": 1
"minLength": 1,
"pattern": "^[a-z0-9](-?[a-z0-9])*$"
},
"invocation":{
"type": "string",
Expand Down
3 changes: 2 additions & 1 deletion schema/retries.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"name": {
"type": "string",
"description": "Unique retry strategy name",
"minLength": 1
"minLength": 1,
"pattern": "^[a-z0-9](-?[a-z0-9])*$"
},
"delay": {
"type": "string",
Expand Down
Loading