Skip to content

[Schema Inaccuracy] Get repository content path should not be required #4754

Open
@szesch

Description

@szesch

Schema Inaccuracy

The get repository content API has path marked as Required but the docs state If you omit the path parameter, you will receive the contents of the repository's root directory. which would indicate path is not Required.

https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-repository-content

Expected

path should not be marked as Required

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions