Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1orgs~1{org}~1projectsV2~1{project_number}~1items/get #5601

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/projects-v2-item-with-content/value

Schema and example mismatch. The schema expects an array. The example has an element.

Here's a snippet

>   1: {
    2:   "archived_at" : null,
    3:   "content" : {
    4:     "url" : "https://api.github.com/repos/github/Hello-World/pulls/6",
    5:     "id" : 10,

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • fpt
  • ghec

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