Skip to content

JSON request bodies are not strictly validated #837

@lsorber

Description

@lsorber

Description

GitHub is starting to apply strict validation in their REST API [1].

Connexion already has a strict_validation flag [2], but it doesn't apply to the request body if its content type is JSON.

Expected behaviour

I would appreciate it if strict validation also validates JSON request bodies.

Related issue: #223
CC: @dsem

[1] https://developer.github.com/changes/2018-09-25-stricter-validation-coming-soon-in-the-rest-api/
[2] https://github.com/zalando/connexion/blob/master/docs/request.rst#parameter-validation

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