Skip to content

Add an option to validate response types #18

@danvk

Description

@danvk

crosswalk validates request bodies, but it might also be useful to validate response bodies. This could catch errors due to as any and other type assertions. And if you use noExtraProps when you generate your JSON Schema, it could catch issues with additional properties leaking by surprise.

Enabling this for debug builds but not prod might also be a useful strategy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions