Skip to content

Correctly understand JSON POST body requirement #39

Open
@jphastings

Description

@jphastings

If a required parameter of a request is in: body with a schema then Swaggerific should correctly identify when that isn't present, or doesn't match the schema.

Currently it outputs:

{
    "error": "missing_params",
    "message": "Required parameters are missing",
    "details": {
        "reasons": {
            "": "is missing"
        }
    }
}

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