Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1user~1ssh_signing_keys~1{ssh_signing_key_id}/get #5657

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/ssh-signing-key/value

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

Here's a snippet

    2:   "created_at" : "2020-06-11T21:31:57Z",
    3:   "id" : 2,
    4:   "key" : "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
    5:   "title" : "ssh-rsa AAAAB3NzaC1yc2EAAA",
>   6:   "url" : "https://api.github.com/user/keys/2"
    7: }

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