Skip to content

Add spec changes for subdomain routing on App Platform#1005

Merged
loosla merged 2 commits intodigitalocean:mainfrom
ZachEddy:apps/support-domain-matches
Apr 24, 2025
Merged

Add spec changes for subdomain routing on App Platform#1005
loosla merged 2 commits intodigitalocean:mainfrom
ZachEddy:apps/support-domain-matches

Conversation

@ZachEddy
Copy link
Member

Updates the OpenAPI spec with app spec changes for subdomain routing.

Comment on lines 2 to 4
oneOf:
- required: [prefix]
- required: [exact]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
oneOf:
- required: [prefix]
- required: [exact]

Let’s remove it, as it seems a bit confusing. Instead, include this information directly in the description: " Choose either path or authority — not both."

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I goofed here — both prefix and authority can be used at the same time. Not sure why I thought oneOf made sense. Updated accordingly.

@loosla
Copy link
Contributor

loosla commented Apr 24, 2025

@ZachEddy Awesome work 🚀 Ready to approve once a few final updates are made.

- Wrap example.com in quotes
- Fix indentation for exact match (and prefix for consistency)
- Remove oneOf because it's not applicable
Copy link
Contributor

@loosla loosla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@loosla loosla merged commit 0fb7311 into digitalocean:main Apr 24, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants