Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1app/get #5660

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/integration/value

The field single_file doesn't exist in the schema, but exists in the example.

Here's a snippet

   31:   "permissions" : {
   32:     "metadata" : "read",
   33:     "contents" : "read",
   34:     "issues" : "write",
>  35:     "single_file" : "write"
   36:   },
   37:   "slug" : "octoapp",
   38:   "updated_at" : "2017-07-08T16:18:44-04:00"
   39: }

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • fpt
  • ghec
  • ghes-3.14
  • ghes-3.15
  • ghes-3.16
  • ghes-3.17
  • ghes-3.18

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