Currently the generator doesn't support nullable annotations (?) in api definitions, if something is nullable, it has to be annotated with the [NullAllowed] attribute.
We should add support to (and potentially switch our code to use) nullable annotations instead.