forked from loafle/openapi-generator-original
* better handling of primivitype type with oneOf * fix null check, add tests * add check for properties
* better handling of primivitype type with oneOf * fix null check, add tests * add check for properties