Skip to content

[Java] Automatic client-side BeanValidation #4092

@jfiala

Description

@jfiala
Description

Add a CLI flag to perform an automatic client-side BeanValidation check.
This would also make the current check for required parameters in the generated Api-client classes obsolete (if the CLI beanvalidation flag is turned on):

// verify the required parameter 'name' is set
        if (name == null) {
            throw new ApiException("Missing the required parameter 'name' when calling sayHello(Async)");
        }
Related issues

PR #4003 (BeanValidation added to Java)

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