Skip to content

"Rule 7 - Array MUST be defined to have at least one element" needs to be changed in next release 5.0.0 #291

@larsolofsson

Description

@larsolofsson

Rule 7 needs to be updated in next release, if response status code for empty collections is changed in next release. 5.0.0.
The response will then have an empty array.

Rule 7 - Array MUST be defined to have at least one element

When papiNet defines a property of type array, papiNet ALWAYS means that this array MUST have at least one element; therefore the constraint minItems: 1 will always be added.

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