这是indexloc提供的服务,不要输入任何密码
Skip to content

$schema in request body of input example #48

@jceb

Description

@jceb

I noticed that the $schema property is present in the request body of my endpoint input:

schema

However, this causes an error when I click on "Try it" in the API documentation interface and send the example body without removing the $schema property first. The reason is that $schema is not expected by the API and so it throws an error.

IMHO it makes sense to have the schema somewhere in the API documentation but not as part of the example body of an input. It seems most relevant in the response data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions