oxidecomputer / third-party-api-clients

A place for keeping all our generated third party API clients.
https://docs.rs/octorust
MIT License
132 stars 55 forks source link

GitHub client requires too many fields to create a repo for authenticated user #74

Open jwodder opened 1 year ago

jwodder commented 1 year ago

The ReposCreateRequest struct used by the Repos::create_for_authenticated_user() method marks the description, gitignore_template, homepage, license_template, name, and team_id fields as required, yet according to the schema, only name is required. In fact, the team_id field is actually invalid for this endpoint!

There are probably other structures in the client with the same problem, but this is the only one I actually checked.