Skip to content

Commit

Permalink
feat(http): add new field xmlRootKey and updated regex for some fields
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepdsvs committed Jan 29, 2025
1 parent 908c4c9 commit 313ce66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/configurations/destinations/http/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"properties": {
"to": {
"type": "string",
"pattern": "^(?!\\$)[A-Za-z0-9'\"- ]{1,100}$"
"pattern": "^(?!\\$)[A-Za-z0-9!#$%&'*+.^_`|~\\- ]{1,100}$"
},
"from": {
"type": "string",
Expand All @@ -78,7 +78,7 @@
"properties": {
"to": {
"type": "string",
"pattern": "^(?!\\$)[A-Za-z0-9'\"- ]{1,100}$"
"pattern": "^(?!\\$)[A-Za-z0-9!#$%&'*+.^_`|~-]{1,100}$"
},
"from": {
"type": "string",
Expand Down
4 changes: 2 additions & 2 deletions src/configurations/destinations/http/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@
"type": "textInput",
"configKey": "to",
"label": "Key",
"regex": "^(?!\\$)[A-Za-z0-9'\"- ]{1,100}$",
"regex": "^(?!\\$)[A-Za-z0-9!#$%&'*+.^_`|~\\- ]{1,100}$",
"regexErrorMessage": "JSON path is not supported. Please enter a constant",
"placeholder": "e.g: customerId"
},
Expand Down Expand Up @@ -568,7 +568,7 @@
"type": "textInput",
"configKey": "to",
"label": "Key",
"regex": "^(?!\\$)[A-Za-z0-9'\"- ]{1,100}$",
"regex": "^(?!\\$)[A-Za-z0-9!#$%&'*+.^_`|~-]{1,100}$",
"regexErrorMessage": "JSON path is not supported. Please enter a constant",
"placeholder": "e.g. content-type"
},
Expand Down

0 comments on commit 313ce66

Please sign in to comment.