Skip to content

Extend response/error with item and reuse it for all the errors #52

@googleson78

Description

@googleson78

From looking at response/error_*.yaml, it seems like pretty much all the errors have the fields of response/error.yaml, as well as an additional item field, which is left opaque to be extended in different endpoints. Could we not instead have a response/error_with_item.yaml which has the response/error.yaml fields + an item field, and reuse that for all the errors in different endpoints, so that there are not many different error types which are actually practically identical? It seems to me that this would be an easier way to organise things

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions