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'm trying to revive Anicca, an OpenAPI differ. It currently is failing on the copilot-seat-details schema component.
It's because it is using Schema objects within the enum. Is this expected? I've never seen this before but maybe it's possible with more recent versions. It looks like a oneOf is probably what was needed here?
"copilot-seat-details": {
"title": "Copilot for Business Seat Detail",
"description": "Information about a Copilot for Business seat assignment for a user, team, or organization.",
"type": "object",
"properties": {
"assignee": {
"type": "object",
"description": "The assignee that has been granted access to GitHub Copilot.",
"additionalProperties": true,
"enum": [
{
"$ref": "#/components/schemas/simple-user"
},
{
"$ref": "#/components/schemas/team"
},
{
"$ref": "#/components/schemas/organization"
}
]
},
The text was updated successfully, but these errors were encountered:
I'm trying to revive Anicca, an OpenAPI differ. It currently is failing on the
copilot-seat-details
schema component.It's because it is using Schema objects within the enum. Is this expected? I've never seen this before but maybe it's possible with more recent versions. It looks like a
oneOf
is probably what was needed here?The text was updated successfully, but these errors were encountered: