You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "shreemaan-abhishek (via GitHub)" <gi...@apache.org> on 2026/04/03 07:06:21 UTC
[PR] fix: consumer/credential/stream_route compatible with older versions schema [apisix]
shreemaan-abhishek opened a new pull request, #13154:
URL: https://github.com/apache/apisix/pull/13154
## Summary
- Adds `id` field to consumer schema for backward compatibility with older config formats
- Extends credential `id` schema to accept `consumer/credentials/uuid` path format via `oneOf`
- Adds `name` and `labels` fields to stream_route schema for compatibility
Backport from api7/api7-ee-3-gateway#1263.
## Test plan
- [x] Credential with `consumer/credentials/uuid` id format is accepted
- [x] Consumer with explicit `id` field works in YAML config mode
- [x] Invalid API key returns 401
- [x] Valid credential key returns 200
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: consumer/credential/stream_route compatible with older versions schema [apisix]
Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop merged PR #13154:
URL: https://github.com/apache/apisix/pull/13154
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org