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/api.github.com/api.github.qkg1.top.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"
},
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/api.github.com/api.github.qkg1.top.json):The default value
trueis 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