Skip to content

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

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/projects-v2/value

Schema and example mismatch. The schema suggests the response is an array. The example has an element.

Here's a snippet

>   1: {
    2:   "closed_at" : null,
    3:   "created_at" : "2011-04-10T20:09:31Z",
    4:   "creator" : {
    5:     "login" : "octocat",

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