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
While using ajv to validate against the provided JSON Schema, I have found one repository where the url field of license is null - the JSON schema however insists on string.
Expected
I expect the data to match the provided schema, so either update minimal-repository.properties.license.properties.url to be type: ["string", "null"] or update the response to return "" on missing license URL.
Schema Inaccuracy
While using ajv to validate against the provided JSON Schema, I have
found one repository where the url field of license is null - the JSON
schema however insists on string.
Expected
I expect the data to match the provided schema, so either update
minimal-repository.properties.license.properties.url to be type:
["string", "null"] or update the response to return "" on missing license
URL.
Reproduction Steps
$ curl https://api.github.com/repos/digitalservicebund/AusweisApp2Wrapper-iOS-SPM
(...)
"license": {
"key": "other",
"name": "Other",
"spdx_id": "NOASSERTION",
"url": null,
"node_id": "MDc6TGljZW5zZTA="
},
(...)
—
Reply to this email directly, view it on GitHub
<#4310>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BKQVIIYF67XGR7S2KL4YMHL2B4YGVAVCNFSM6AAAAABSJMIXF2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY4DGMRVHE2TAMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Schema Inaccuracy
While using
ajv
to validate against the provided JSON Schema, I have found one repository where theurl
field oflicense
isnull
- the JSON schema however insists onstring
.Expected
I expect the data to match the provided schema, so either update
minimal-repository.properties.license.properties.url
to betype: ["string", "null"]
or update the response to return""
on missing license URL.Reproduction Steps
The text was updated successfully, but these errors were encountered: