Skip to content

Commit b944a65

Browse files
authored
Merge pull request #3004 from port-labs/PORT-16399-bug-clarify-object-validation-doc-current-wording-implies-behavior-that-isnt-supported
Clarify object validation operators in documentation for self-service experiences
2 parents c433191 + b2f6ce0 commit b944a65

File tree

1 file changed

+2
-2
lines changed
  • docs/actions-and-automations/create-self-service-experiences/setup-ui-for-action/user-inputs

1 file changed

+2
-2
lines changed

docs/actions-and-automations/create-self-service-experiences/setup-ui-for-action/user-inputs/object.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ resource "port_action" "myAction" {
153153

154154
Object validations support the following operators:
155155

156-
- `properties` - which keys must appear and what their type should be;
157-
- `additionalProperties` - are keys not defined in `properties` allowed and what their type should be;
156+
- `properties` - defines the type for keys if they appear (use `required` array to make keys mandatory).
157+
- `additionalProperties` - whether keys not defined in `properties` are allowed (boolean) or what type they should be (type definition).
158158
- `patternProperties` - which regex pattern should properties follow
159159

160160
:::tip

0 commit comments

Comments
 (0)