Skip to content

Support properties white-list in model.json #1554

@jmkgreen

Description

@jmkgreen

The converse of the 'hidden' property: a means to specify which properties should be returned HTTP responses.

Use case: I have a model with a large number of fields, most of which this particular application should not expose so I have removed those properties from the model.json file. Trouble is, the data returned via REST continues to include them. I could add them to the 'hidden' property but that would involve a lot of work up front and will not catch any further fields added to by others in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions