[Schema Inaccuracy] head.label
and head.user
can be null in pull-request
schema
#916
Labels
head.label
and head.user
can be null in pull-request
schema
#916
Schema Inaccuracy
The current schema for
#/components/schemas/pull-request
defineshead.label
andhead.user
as required.Expected
head.label
andhead.user
should havenullable: true
with the nullability conditions documented (from what I understand, if the user's account was deleted for some reason: all the cases I can see are for "ghost" users)Reproduction Steps
Side-note
The same issue was fixed for
head.repo
as reported in #161 and #424, would be nice to also add a description to that property explaining the conditions under which it can be null.The text was updated successfully, but these errors were encountered: