Open
Description
Schema Inaccuracy
This is the json ref:
#/paths/~1repos~1{owner}~1{repo}~1replicas~1caches/get/responses/200/content/application~1json/examples/default/value
The field spec is
"git": {
"type": "object",
"properties": {
"sync_status": {
"type": "string",
"enum": [
"offline",
"inactive",
"in_sync",
"not_in_sync"
]
},
"last_sync": {
"type": "string",
"format": "date-time"
}
},
"required": [
"sync_status",
"last_sync"
]
}
The example is
"git": [
{
"sync_status": "in_sync"
},
{
"last_sync": "2022-01-10T19:33:52Z"
}
]
I looked at GHES-3.12, GHES-3.13, GHES-3.14, GHES-3.15.
Expected
The example should have an object or the type spec should have a list.