Skip to content

Request Valiation for Rest ApisΒ #3

Open
@dev-kemblekaran

Description

Currently validations on beans do not work. I tried to add @Valid annotation on CrudController but is not working. Also tried overriding the methods and provide validation implementation in the specific controller but that also not working.

would like to have following to perform validations for the apis

    @PostMapping
    public Long create(@RequestBody **@Valid** DTO dto) {
        return facade.create(dto);
    }

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions