mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-16 23:27:14 +00:00
docs(api): align OpenAPI with runtime contracts (#6409)
Document the cookie-authenticated WebSocket upgrade and its emitted envelopes without exporting pseudo-paths. Align REST response schemas, paged-client filters, and subscription HEAD operations with their runtime implementations, then regenerate frontend and docs artifacts.
This commit is contained in:
@@ -73,6 +73,7 @@ func run(root, outDir string) error {
|
||||
Path: resolveRel(root, "internal/xray"),
|
||||
StructAllow: setOf(
|
||||
"ClientTraffic",
|
||||
"Traffic",
|
||||
),
|
||||
},
|
||||
{
|
||||
@@ -90,6 +91,14 @@ func run(root, outDir string) error {
|
||||
Path: resolveRel(root, "internal/web/service"),
|
||||
StructAllow: setOf(
|
||||
"InboundOption",
|
||||
"ClientSlim",
|
||||
"ClientPageResponse",
|
||||
"ClientsSummary",
|
||||
"InboundTrafficSummary",
|
||||
"LogEntry",
|
||||
"NewUUIDResponse",
|
||||
"MLDSA65Response",
|
||||
"MLKEM768Response",
|
||||
"NodeMutationRequest",
|
||||
"NodeView",
|
||||
"ProbeResultUI",
|
||||
|
||||
Reference in New Issue
Block a user