Skip to content

NotNull annotation for required parameters #89

@RikkiGibson

Description

@RikkiGibson

RxJava2 has a @NotNull annotation that it applies to parameters to indicate that null must not be passed as a value for the parameter. This causes the IDE to show a warning when null is passed in an inappropriate way. This could be pretty helpful to users of the gen code. We should consider changing the generator to add such annotations when the parameter is marked required in Swagger.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions