You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the current published OpenAPI document is out of date. The SourcePackage's property source is declared as string, whereas in the claircore it is Package via recursive declaration of Package.
When I try to validate the Clair clair formatted report produced by clair-action with the JSON Schema generated using https://github.com/grantila/typeconv/, e.g. npx typeconv -f oapi -t jsc openapi.yaml, I get a schema violation like:
Description of Problem / Feature Request
I've noticed that the current published OpenAPI document is out of date. The
SourcePackage
's propertysource
is declared asstring
, whereas in the claircore it isPackage
via recursive declaration ofPackage
.When I try to validate the Clair
clair
formatted report produced by clair-action with the JSON Schema generated using https://github.com/grantila/typeconv/, e.g.npx typeconv -f oapi -t jsc openapi.yaml
, I get a schema violation like:Expected Outcome
The OpenAPI schema should reflect the report generated from Clair.
Actual Outcome
See the description above
Environment
Using clair-action 0.0.10.
The text was updated successfully, but these errors were encountered: