Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Open
@thejcannon

Description

@thejcannon
Issue body actions

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.