Skip to content

Commit 0fb7311

Browse files
author
Zach Eddy
authored
Add spec changes for subdomain routing on App Platform (#1005)
* Add spec changes for subdomain routing on App Platform * Respond to feedback from @loosla: - Wrap example.com in quotes - Fix indentation for exact match (and prefix for consistency) - Remove oneOf because it's not applicable
1 parent f4a8f3a commit 0fb7311

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
type: object
22
properties:
33
path:
4-
$ref: app_ingress_spec_rule_string_match.yml
4+
$ref: app_ingress_spec_rule_string_match_prefix.yml
5+
authority:
6+
$ref: app_ingress_spec_rule_string_match_exact.yml
57
description: The match configuration for the rule.
6-
required:
7-
- path
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
type: object
2+
properties:
3+
exact:
4+
type: string
5+
maxLength: 256
6+
example: "example.com"
7+
description: The authority to match on.
8+
required:
9+
- exact

specification/resources/apps/models/app_ingress_spec_rule_string_match.yml renamed to specification/resources/apps/models/app_ingress_spec_rule_string_match_prefix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ properties:
77
example: /api
88
description: The path to match on.
99
required:
10-
- prefix
10+
- prefix

0 commit comments

Comments
 (0)