Skip to content
Merged
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
2 changes: 2 additions & 0 deletions packages/clients/src/api/lb/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ const unmarshalRouteMatch = (data: unknown): RouteMatch => {

return {
hostHeader: data.host_header,
matchSubdomains: data.match_subdomains,
sni: data.sni,
} as RouteMatch
}
Expand Down Expand Up @@ -1186,6 +1187,7 @@ const marshalRouteMatch = (
request: RouteMatch,
defaults: DefaultValues,
): Record<string, unknown> => ({
match_subdomains: request.matchSubdomains,
...resolveOneOf([
{ param: 'sni', value: request.sni },
{ param: 'host_header', value: request.hostHeader },
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/src/api/lb/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,8 @@ export interface RouteMatch {
* One-of ('matchType'): at most one of 'sni', 'hostHeader' could be set.
*/
hostHeader?: string
/** If true, all subdomains will match. */
matchSubdomains: boolean
}

export interface CreateCertificateRequestCustomCertificate {
Expand Down
Loading