Skip to content

[Schema Inaccuracy] "GET /repos/{owner}/{repo}/issues" - incorrect schema for milestone parameter #226

Open
@gr2m

Description

@gr2m

Follow up to WordPress/gutenberg#29043 (comment) /cc @ockham

Schema Inaccuracy

      - name: milestone
        description: If an `integer` is passed, it should refer to a milestone by
          its `number` field. If the string `*` is passed, issues with any milestone
          are accepted. If the string `none` is passed, issues without milestones
          are returned.
        in: query
        required: false
        schema:
          type: string

Expected

The description says that the milestone parameter can also be a number

If an integer is passed, it should refer to a milestone by its number field. If the string * is passed, issues with any milestone are accepted. If the string none is passed, issues without milestones are returned.

Reproduction Steps

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions