Skip to content

[Schema Inaccuracy] create-release api param make_latest default value error #2496

Open
@yanyongyu

Description

@yanyongyu

Schema Inaccuracy

Docs: https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#create-a-release
Schema:

make_latest:
  type: string
  enum:
  - 'true'
  - 'false'
  - legacy
  default: true

default value of make_latest is a boolean value (not quoted).


update: the update-release api also has the error default value for make_latest.

Expected

make_latest:
  type: string
  enum:
  - 'true'
  - 'false'
  - legacy
  default: 'true'

Reproduction Steps

pass

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions