Closed orange-buffalo closed 1 week ago
The "Content Tree" object lists content as a required property, but doesn't list the content property itself.
content
"content-tree": { "title": "Content Tree", "description": "Content Tree", "type": "object", "properties": { "type": { "type": "string" }, "size": { "type": "integer" }, "name": { "type": "string" }, "path": { "type": "string" }, "sha": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "git_url": { "type": "string", "format": "uri", "nullable": true }, "html_url": { "type": "string", "format": "uri", "nullable": true }, "download_url": { "type": "string", "format": "uri", "nullable": true }, "entries": { ... } }, "_links": { ... }, "required": [ "_links", "git_url", "html_url", "download_url", "name", "path", "sha", "size", "type", "url", "content", "encoding" ] },
content property is in the list of properties of content-tree.
properties
content-tree
See OpenAPI JSON spec in this repository.
Thanks for this report! I fixed up that schema, the content property has been added to the root of that schema and removed from the required list, along with a couple of other tweaks.
required
Schema Inaccuracy
The "Content Tree" object lists
content
as a required property, but doesn't list thecontent
property itself.Expected
content
property is in the list ofproperties
ofcontent-tree
.Reproduction Steps
See OpenAPI JSON spec in this repository.