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

[Schema Inaccuracy] "Content Tree" encoding is a required property, but is unlisted #3860

Open
thejcannon opened this issue Aug 15, 2024 · 3 comments

Comments

@thejcannon
Copy link

Schema Inaccuracy

The "Content Tree" object lists encoding as a required property, but doesn't list the encoding property itself.

    content-tree:
      title: Content Tree
      description: Content Tree
      type: object
      (fields omitted, but `encoding` is missing)
      required:
      (...omitted)
      - encoding

This manifests on the "Response Schema" of https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-repository-content

Expected

encoding to be spec'd

@shawnHartsell
Copy link
Contributor

shawnHartsell commented Aug 20, 2024

Thanks for the issue @thejcannon I'll inform the internal team responsible for this endpoint and they'll take it from there.

@shawnHartsell
Copy link
Contributor

@github/repos can we transfer this issue to your team? You all appear to be the owners. Thanks!

@WillLennon
Copy link

@shawnHartsell I don't see the button to transfer this issue to us. Presumably I don't have permissions. Feel free to transfer it.

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

No branches or pull requests

3 participants