Schema Inaccuracy
The response body of the 'create a release' endpoint POST /repos/{owner}/{repo}/releases is described as an object, but it's actually an array.
Expected
Either the schema should describe the response type as an array, or the endpoint should return an object.
Reproduction Steps
https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28&versionId=free-pro-team%40latest&restPage=scripting-with-the-rest-api-and-javascript#create-a-release
Schema Inaccuracy
The response body of the 'create a release' endpoint
POST /repos/{owner}/{repo}/releasesis described as an object, but it's actually an array.Expected
Either the schema should describe the response type as an array, or the endpoint should return an object.
Reproduction Steps
https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28&versionId=free-pro-team%40latest&restPage=scripting-with-the-rest-api-and-javascript#create-a-release