Skip to content

Commit

Permalink
Add example for regex pattern properties (#1720)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkarpetin authored Dec 7, 2023
1 parent cd6f1b3 commit 7bc627f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions openapi/components/schemas/AuthenticationOptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ properties:
type:
- 'string'
- 'null'
example: '/^[0-9]+$/'
credentialTtl:
description: Default credential lifetime, in seconds.
type: integer
Expand Down
1 change: 1 addition & 0 deletions openapi/components/schemas/StringCustomField.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ properties:
pattern:
description: Allowed regular expression of a string.
type: string
example: '/^[0-9]+$/'
required:
description: Specifies whether this value is required.
type: boolean
Expand Down

0 comments on commit 7bc627f

Please sign in to comment.