Skip to content
New issue

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

Lots of GitHub schema improvements #22

Merged
merged 4 commits into from Feb 21, 2019

Conversation

Projects
None yet
2 participants
@pimterry
Copy link
Contributor

pimterry commented Feb 20, 2019

A few changes here, each as separate commits:

  1. The /users/{username} response type was an array of users - it's now a single user, and the list of users type has been rewritten to be a list of the single user type (as a $ref).
  2. All endpoints that are obviously deprecated have been marked as such (at least, all with 'deprecated' in the description, or under the /legacy/ path).
  3. Changed lots of types to use $refs instead of duplicating definitions (especially the repo/user type), combined equivalent definitions, and removed lots of unused definitions. This removes a few thousand lines of YAML, and provides more detailed types & docs on lots of endpoints.
  4. Fixed various other schema definitions that were plural/singular and should've been the other.

@MikeRalphson MikeRalphson merged commit 4583a91 into APIs-guru:master Feb 21, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@MikeRalphson

This comment has been minimized.

Copy link
Collaborator

MikeRalphson commented Feb 21, 2019

Thanks, greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.