kayx23 opened a new pull request, #14206: URL: https://github.com/apache/apisix/pull/14206
## Summary - restore the manager-specific `SecretPatch` schemas and nullable merge-patch fields - document closed enum values for hashing, upstream schemes, host forwarding, route status, and SSL status/type - describe the four built-in upstream balancers while keeping `Upstream.type` open for user-defined balancer modules - declare intentionally unconstrained array items explicitly and validate this in the Admin API contract checker - add regression coverage for the generated metadata and regenerate `admin-api.json` ## Why The modular Admin API source generated a valid OpenAPI 3.1 document, but it dropped schema detail that the reference renderer and downstream quality checks rely on. In particular, the generated `SecretPatch` became an unstructured object, several enums lost their descriptions, and unconstrained arrays omitted `items` entirely. `Upstream.type` is intentionally not converted to an enum: APISIX has supported user-defined balancers since #4605. The description lists the built-in implementations without closing the field to extensions. ## Validation - `make bundle-admin-api-spec` - `python -m unittest discover -s t/openapi -v` (20 tests) - `python utils/validate-admin-api.py` - `python utils/validate-control-api.py` - Spectral 6.16.2 with the downstream APISIX Admin API ruleset: 0 errors - `git diff --check` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
