Skip to content

Schema validation for clair report #1199

@zregvart

Description

@zregvart

Extracted from #1180 (comment):

We should probably have some data validation on the report itself. Maybe as a follow up?
While this is possible and not a lot of work, the schema that is currently available at https://github.com/quay/clair/blob/main/openapi.yaml (revision 0a3a4611964014c0c9846d8c79acdd062af9c17d) does not successfully validate the generated report.

The packages.*.source.source is declared as string in the schema, but it is an object in the report. Something to followup with the Quay Clair team.

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