We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event.type should be an enum.
Event.type
This request returns events for a user: https://docs.github.com/en/rest/activity/events?apiVersion=2022-11-28#list-events-for-the-authenticated-user
The example response hints that some options for an event type are WatchEvent and PushEvent, and there are probably more.
WatchEvent
PushEvent
The nature of this field suggests that being a closed set and so it should be an enum.
The field is defined as an ordinary string here: https://github.com/github/rest-api-description/blob/main/descriptions/ghes-3.7/ghes-3.7.yaml?raw=true at line 59676 as of revision d25cb45 (don't know how to generate a permalink on files that large).
Not really an inaccuracy, but it prevents compile-time safety when sorting out events.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Schema Inaccuracy
Event.type
should be an enum.This request returns events for a user:
https://docs.github.com/en/rest/activity/events?apiVersion=2022-11-28#list-events-for-the-authenticated-user
The example response hints that some options for an event type are
WatchEvent
andPushEvent
, and there are probably more.Expected
The nature of this field suggests that being a closed set and so it should be an enum.
Reproduction Steps
The field is defined as an ordinary string here:
https://github.com/github/rest-api-description/blob/main/descriptions/ghes-3.7/ghes-3.7.yaml?raw=true
at line 59676 as of revision d25cb45 (don't know how to generate a permalink on files that large).
Not really an inaccuracy, but it prevents compile-time safety when sorting out events.
The text was updated successfully, but these errors were encountered: