Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ type: object
properties:
exact:
type: string
nullable: true
maxLength: 256
example: "example.com"
description: >-
Exact string match. An empty string is a valid value and will be
serialized explicitly rather than being omitted from the payload.
description: The authority to match on.
required:
- exact
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ type: object
properties:
prefix:
type: string
nullable: true
description: Prefix-based match. For example, `/api` will match `/api`, `/api/`, and any nested paths such as `/api/v1/endpoint`.
maxLength: 256
example: /api
Expand Down
7 changes: 4 additions & 3 deletions specification/resources/apps/models/apps_string_match.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@ type: object
properties:
exact:
type: string
nullable: true
description: Exact string match. Only 1 of `exact`, `prefix`, or
`regex` must be set.
`regex` must be set. An empty string is a valid value and will be
serialized explicitly rather than being omitted from the payload.
maxLength: 256
minLength: 1
example: https://www.example.com

prefix:
type: string
nullable: true
description: Prefix-based match. Only 1 of `exact`, `prefix`, or
`regex` must be set.
maxLength: 256
minLength: 1
example: https://www.example.com
deprecated: true

Expand Down
Loading