You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "tm-drtina (via GitHub)" <gi...@apache.org> on 2023/09/30 11:53:49 UTC

[GitHub] [directory-scimple] tm-drtina commented on issue #383: Photo resource has incorrect type in schemas endpoint

tm-drtina commented on issue #383:
URL: https://github.com/apache/directory-scimple/issues/383#issuecomment-1741749190

   I think the issue is that `type=reference` and field `ref` are switched. Group members schema:
   ```
               {
                 "name": "ref",
                 "type": "string",
                 "multiValued": false,
                 "description": "The URI of the corresponding resource ",
                 "required": false,
                 "caseExact": false,
                 "mutability": "readWrite",
                 "returned": "default",
                 "uniqueness": "none",
                 "referenceTypes": [
                   "User",
                   "Group"
                 ]
               },
               {
                 "name": "type",
                 "type": "reference",
                 "multiValued": false,
                 "description": "A label indicating the attribute's function; e.g., 'direct' or 'indirect'.",
                 "required": false,
                 "canonicalValues": [
                   "indirect",
                   "direct"
                 ],
                 "caseExact": false,
                 "mutability": "readWrite",
                 "returned": "default",
                 "uniqueness": "none"
               },
   ```
   vs. the schema:
   https://github.com/apache/directory-scimple/blob/66f2b9a1f01e64644404747ba8b607d6bb59a1db/scim-spec/scim-spec-schema/src/test/resources/schemas/urn%3Aietf%3Aparams%3Ascim%3Aschemas%3Acore%3A2.0%3AGroup.json#L35-L64


-- 
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: dev-unsubscribe@directory.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org