RESTest
RESTest copied to clipboard
es.us.isa.restest.inputs.stateful.BodyGenerator.generateStatefulObjectNode does not judge the Null value for 'schema' variable
When I test my spec I found when 'schema' in spec is null, The RESTest can't filter this situation,and it will report a error like this:

So I check the 107 line in es.us.isa.restest.inputs.stateful.BodyGenerator.generateStatefulObjectNode,Then I found the variable 'schema' does not make a null judgment
When I add null value judgment(of cause you can add try catch), it works again

Thanks for the report. If you want, you can submit a PR including this change and a corresponding test that checks that the functionality is implemented as expected (i.e., including an OpenAPI with a null schema and asserting that no exception is thrown).