Skip to content

Single-entity vs list operations disagree on the "nothing found" case #62

Description

@arcangelo7

The OpenAPI (https://skg-if.github.io/api/openapi/ver/current/skg-if-openapi.yaml) handles an empty result differently depending on the operation. A lookup by id like /products/{local_identifier} (same for persons, organisations, etc.) defines a 404. On the contrary, list and search operations define a 200 with an empty array in case of zero results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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