Skip to content

[Schema Inaccuracy] events schema missing event definitions #1318

Description

@wolfy1339

Schema Inaccuracy

The events schema for GET /users/{username}/events/public is incomplete.
It is missing the PushEvent, and possibly others

Expected

For the schema to include definitions for all possible events from the Event API.

Ideally there should be a separate schema definition for each event, and the event schema is a oneOf of all of those

Reproduction Steps

curl -X GET https://api.github.com/events
curl -X GET https://api.github.com/users/USER/events
curl -X GET https://github.com/users/USER/events/public

ref: octokit/rest.js#128

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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