Schema Inaccuracy
/repos/{owner}/{repo}/releases/{release_id} PATCH defines this request body property (line 60940 in https://github.com/github/rest-api-description/blob/main/descriptions/github.com/ghapi/github.com/ghapi.json):
"make_latest": {
"type": "string",
"description": "Specifies whether this release should be set as the latest release for the repository. ....",
"enum": [
"true",
"false",
"legacy"
],
"default": true
},
The default value true is not quoted.
I currently work on the default value handling in Kiota. Previously, default values without quotes were ignored. But as they are processed now, too, the invalid default value causes a syntax error in the generated code. But maybe we handle enums differently anyway, and then this problem would disappear for me.
Expected
"make_latest": {
"type": "string",
"description": "Specifies ....",
"enum": [
"true",
"false",
"legacy"
],
"default": "true"
},