Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-2650

GET .../organizations/{id}/members/{id} multiple ids [GHI#35745]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • 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.

      !image

      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

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak Core IAM
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: