-
Bug
-
Resolution: Done
-
Undefined
-
None
-
False
-
-
False
-
-
Before reporting an issue
[X] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
organizations
Describe the bug
These two endpoints
- {{/admin/realms/
{realm}/organizations/{id}/members/{id}}}
- {{/admin/realms/{realm}/organizations/
{id}/members/{id}/organizations}}
use {{
{id}}} twice which prevents generated HTTP client code from being able to use it correctly without manual modification of the OpenAPI JSON spec file. Suggest renaming to {{
{orgId}}} and {{
{memberId}}} or something along those lines.
Version
26.0.7
Regression
[ ] The issue is a regression
Expected behavior
Path variable names are distinct.
Actual behavior
Path variable names are NOT distinct.
How to Reproduce?
- View the OpenAPI JSON spec file
- Or generate an HTTP client using the spec file (with e.g. NSwag) and see that you cannot pass distinct values for organization ID and member ID
Anything else?
No response
- links to