Schema Inaccuracy
This is the JSON ref for the example
#/components/examples/enterprise-ruleset/value
There's this in the example
"rules" : [ {
"type" : "repository_delete"
} ]
There isn't a oneOf in #/components/schemas/repository-rule/oneOf with that as the type.
Affected Schema Refs
#/paths/~1enterprises~1{enterprise}~1rulesets/post
#/paths/~1enterprises~1{enterprise}~1rulesets~1{ruleset_id}/get
#/paths/~1enterprises~1{enterprise}~1rulesets~1{ruleset_id}/put
Expected
The schema and example are in sync
Reproduction Steps
I could reproduce this in