forked from loafle/openapi-generator-original
* [dart-dio] Disable nullable fields by default This is not in line with the OAS and will prevent future Dart nullabilty features (NNBD) from being useful as all types would be optional. Users can still opt-in for this. * [dart-dio] Properties are nullable when not required AND not nullable * [dart][dart-dio] Support nullable/required fields * properties in built_value need to be nullable when they are nullable in OAS or when they are not required in OAS * built_value does not support serializing `null` values by default as it is based on a serialization format based on iterables/lists and not maps * dart-dio uses the built_value json plugin to convert the built_value format to regular json * by generating a custom serializer for each class we can add support for serializing `null` values if the property is required AND nullable in OAS * this is a breaking change as not all properties in the models are nullable by default anymore * Implement required/nullable for dart * Changes for set types and enum names after rebase * Add some comments and fix built_value fields with default being nullable * More rebase changes and regenerate docs