docs(api): regenerate OpenAPI copies and fix host binding descriptions

This commit is contained in:
Nethmina Yasas 2026-10-12 18:49:00 +05:30
parent 1ab8e9cb53
commit 8c414e6d25
5 changed files with 6 additions and 6 deletions

View file

@ -1701,13 +1701,13 @@
"type": "string"
},
"clientHostRuleId": {
"description": "ClientHostRuleId optionally binds one Host row to this client. When set,\nsubscription generation uses that host alone instead of the inbound's\nhosts. Nil or non-positive means no override.",
"description": "ClientHostRuleId is a deprecated read-only alias of ClientHostRuleIds[0].\nNil or non-positive means no override (inbound rule applies).",
"example": 1,
"nullable": true,
"type": "integer"
},
"clientHostRuleIds": {
"description": "ClientHostRuleIds optionally binds several Host rows to this client.\nThe effective binding is the union of this list and ClientHostRuleId;\neach bound host renders its own link/proxy. Empty means no override.",
"description": "ClientHostRuleIds is the canonical per-client host binding; each id renders its own link.\nNil preserves, empty clears; no usable host yields empty subscription for that inbound.",
"example": [
1,
2

View file

@ -29,7 +29,7 @@
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"oxfmt",
"oxfmt --no-error-on-unmatched-pattern",
"oxlint --fix"
]
},

View file

@ -1707,7 +1707,7 @@
"type": "integer"
},
"clientHostRuleIds": {
"description": "ClientHostRuleIds is the canonical per-client host binding; each id renders its own link.\nNil means omitted (preserve); empty means clear.",
"description": "ClientHostRuleIds is the canonical per-client host binding; each id renders its own link.\nNil preserves, empty clears; no usable host yields empty subscription for that inbound.",
"example": [
1,
2

View file

@ -1681,7 +1681,7 @@ export const SCHEMAS: Record<string, unknown> = {
"type": "integer"
},
"clientHostRuleIds": {
"description": "ClientHostRuleIds is the canonical per-client host binding; each id renders its own link.\nNil means omitted (preserve); empty means clear.",
"description": "ClientHostRuleIds is the canonical per-client host binding; each id renders its own link.\nNil preserves, empty clears; no usable host yields empty subscription for that inbound.",
"example": [
1,
2

View file

@ -932,7 +932,7 @@ type Client struct {
// Nil or non-positive means no override (inbound rule applies).
ClientHostRuleId *int `json:"clientHostRuleId,omitempty" example:"1"`
// ClientHostRuleIds is the canonical per-client host binding; each id renders its own link.
// Nil means omitted (preserve); empty means clear.
// Nil preserves, empty clears; no usable host yields empty subscription for that inbound.
ClientHostRuleIds []int `json:"clientHostRuleIds,omitempty" example:"[1,2]"`
// AllowedIPsByInbound optionally overrides AllowedIPs on a per-inbound
// basis, keyed by inbound id. Lets one identity attached to both