Skip to content

Reflect attribute/relationship capabilities in resource object schemas #1056

Open
@maurei

Description

@maurei

Attribute capabilities will affect the listed properties in the attribute object of a resource object.

  • The AttrCapabilities.AllowView flag must be set for a field to be present in the schema associated to a GET operation.
  • The AttrCapabilities. AllowCreate flag must be set for a field to be present in the schema associated to a POST operation.
  • The AttrCapabilities.AllowChange flag must be set for a field to be present in the schema associated to a PATCH operation.

These flags are currently already parsed in the custom schema generation of the current integration, but thorough testing is required.

Note that filter/sort-ability/can-include are out of scope as this requires query parameters to be implemented, see #1058.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions