Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-11572

Agent Resource endpoint API Explorer displays incorrect example value for PUT

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.5.0
    • Fix Version/s: 14.5.0
    • Component/s: None
    • Target Version/s:
    • Rank:
      1|hzu1m7:
    • Needs backport:
      No
    • Needs QA verification:
      Yes
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Agent Resource endpoint API Explorer displays incorrect example value for PUT

      Agents Resource point schema defines options to mention if an attribute value is inherited from an Agent Group or not. But the example value displayed by the API explorer for method PUT miss the inheritance information

      How to reproduce the issue

      1. On XUI browse to API Explorer >realm-confg>agents->OAuth2Client
      2. Click on PUT /realm-config/agents/OAuth2Client/ {id}
      3. View the example value
      Expected behaviour
      As per the schema, the example value should mention if an attribute is being inherited from a group or not. For example for the attributes scopes and client type should be as shown below
        "scopes": {"inherited": "boolean", "value": ["string"}
        "clientType": {"inherited":"boolean", "value": "string"}
      
      Current behaviour
      "scopes": ["string"]
      "clientType": "string"
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dipu.seminlal Dipu Seminlal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: