You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"type": "string",
"description": "Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Defaults to `true` for newly published releases. `legacy` specifies that the latest release should be determined based on the release creation date and higher semantic version.",
"enum": [
"true",
"false",
"legacy"
],
"default": true
}
The default value must be "true" considering its type and enum properties, but boolean value being used.
Schema Inaccuracy
The
default
value must be"true"
considering itstype
andenum
properties, but boolean value being used.Here is the detailed paths:
"$input.paths[\"/repos/{owner}/{repo}/releases\"].post.requestBody.content[\"application/json\"].schema.properties.make_latest[\"default\"]"
"$input.paths[\"/repos/{owner}/{repo}/releases/{release_id}\"].patch.requestBody.content[\"application/json\"].schema.properties.make_latest[\"default\"]"
Expected
Change the
true
default value to"true"
as string type.Reproduction Steps
Visit one of below link, and click "execute" button. Then Github OpenAPI documents would be validated.
descriptions/api.github.com/api.github.heygears.com.json
descriptions/ghes-3.14/ghes-3.14.json
descriptions-next/ghes-3.14/ghes-3.14.json
The text was updated successfully, but these errors were encountered: