Skip to content

App Ingress authority routing only supports exact matching #937#1159

Open
aupadhyay-shark wants to merge 1 commit intodigitalocean:mainfrom
aupadhyay-shark:fix_app_ingress_authority_exact_empty_string
Open

App Ingress authority routing only supports exact matching #937#1159
aupadhyay-shark wants to merge 1 commit intodigitalocean:mainfrom
aupadhyay-shark:fix_app_ingress_authority_exact_empty_string

Conversation

@aupadhyay-shark
Copy link
Copy Markdown

@aupadhyay-shark aupadhyay-shark commented Apr 22, 2026

##Summary

Fixes the upstream OpenAPI schema so that App Ingress authority.exact (and
path.prefix, and the combined apps_string_match model) can serialize
explicit empty / null string values. Without this change, generated clients
like godo cannot send "authority": { "exact": "" } because the generated
Go field is string with omitempty, which drops empty strings during JSON
marshaling and produces "authority": {} — which the DigitalOcean API
rejects with:

Error 400. error validating app spec field "ingress.rules.rule.match.authority":
App Ingress authority routing only supports exact matching.

Related

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.

1 participant