Skip to content

SIP Update schema limitation #2

@seanmcfeely

Description

@seanmcfeely

It appears that the case of needing to remove items from lists until nothing but an empty list remains was not considered. For example, the tags field has a minItems=1 requirement. This causes the following if we want to remove all tags from an indicator:

pysip.pysip.RequestError: {"error":"Bad Request","msg":"Request JSON does not match schema: [] is too short"}

The above is passed to pysip from the SIP server.

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