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.