Schema Inaccuracy
A #/components/schema/pull-request references #/components/schema/team-simple in its requested_teams field.
"requested_teams": {
"type": "array",
"items": {
"$ref": "#/components/schemas/team-simple"
},
"nullable": true
}
Team-simple lacks a "parent" definition, which can be clearly seen in an api response for PRs.
Parent exists on team, but not team-simple.
Expected
Parent added to the description for team-simple, as seen in team:
"parent": {
"nullable": true,
"allOf": [
{
"$ref": "#/components/schemas/team-simple"
}
]
}
Reproduction Steps
curl https://api.github.com/repos/solidusio/solidus/pulls/3794