mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-16 08:31:26 +00:00
There was no validation when a required field was null, creating crash and null pointer exception further down the line in the business code. Now, it throws a InvalidArgumentException. (#6673)
This commit is contained in:
committed by
wing328
parent
619c391be9
commit
8b70f24371
@@ -6,6 +6,7 @@ public class Module extends AbstractModule {
|
||||
|
||||
@Override
|
||||
protected void configure() {
|
||||
bind(AnotherFakeApiControllerImpInterface.class).to(AnotherFakeApiControllerImp.class);
|
||||
bind(FakeApiControllerImpInterface.class).to(FakeApiControllerImp.class);
|
||||
bind(FakeClassnameTags123ApiControllerImpInterface.class).to(FakeClassnameTags123ApiControllerImp.class);
|
||||
bind(PetApiControllerImpInterface.class).to(PetApiControllerImp.class);
|
||||
|
||||
Reference in New Issue
Block a user