Skip to content

[Schema Inaccuracy] Invalid example for /user/codespaces/{codespace_name}/publish requestBody #5046

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the JSON ref

#/paths/~1user~1codespaces~1{codespace_name}~1publish/post/requestBody/content/application~1json/examples/default/value

Unrecognized field "repository" (2 known properties: "name", "private"])

The example has this


    1: {
    2:   "private" : false,
>   3:   "repository" : "monalisa-octocat-hello-world-g4wpq6h95q"
                        ^
    4: }

Reproduction Steps

I found this in
- ghec
- fpt

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