Schema Inaccuracy
This is the json ref for the example
#/components/examples/protected-branch-pull-request-review/value
The field single_file doesn't exist in the schema, but exists in the example.
Here's a snippet
66: "permissions" : {
67: "metadata" : "read",
68: "contents" : "read",
69: "issues" : "write",
> 70: "single_file" : "write"
71: },
72: "events" : [ "push", "pull_request" ]
73: } ]
74: },
Expected
The schema and example are in sync
Reproduction Steps
I could reproduce this in
- fpt
- ghec
- ghes-3.14
- ghes-3.15
- ghes-3.16
- ghes-3.17
- ghes-3.18