[FEATURE] Add generatable 3x-UI schemas based on 3x-UI openapi.json #24
Labels
No labels
backend
bug
documentation
duplicate
enhancement
fix
frontend
help wanted
infrastructure
invalid
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
PoweredDeveloper/radix-vpn#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem?
The Backend requires typed request and response models for interacting with the 3x-UI API. Maintaining these schemas manually is time-consuming and error-prone, especially as the 3x-UI API evolves.
Describe the solution you'd like
Introduce an automated schema generation workflow based on the 3x-UI OpenAPI specification (
openapi.json).The implementation should include:
Describe alternatives you've considered
The schemas could be implemented and maintained manually. However, this approach increases maintenance effort, risks diverging from the official API, and makes upgrading to newer 3x-UI versions more difficult.
Additional context
The generated schemas will be used by the Backend's 3x-UI adapter to provide strongly typed request and response models. The solution should make it straightforward to regenerate the models whenever a new version of the 3x-UI OpenAPI specification is adopted.
Checklist
mainto backend-3xui-integration