- Different fixes and improvements
-
Breaking Added support of Chopper 8.0
-
Fixed generation of keywords in JsonKeys (#734)
- Fixed generation of some complex
allOf
chains
- Fixed some issues
- Changed option
enums_case_sensitive
to correctly default totrue
as stated in documentation - Fixed option
enums_case_sensitive
to work with nullable deserializers when set tofalse
- Modernized
example/
- Bump
package:json_annotation
to^4.8.1
- Added option
generate_first_succeed_response
to generate first succeed response ordynamic
(#703)
-
Breaking Added ability to rename downloaded swagger files (#558)
-
Added support of deprecated fields and methods (#699)
- Added
ErrorConverter
to create method
- Make
readOnly
andwriteOnly
fields asnullable
andnot required
(#487) - Added support of
DateTime
query parameters (#694)
- Some fixes and improvements
- Fixed generation key word parameter names (#685)
- Fixed generation of
nullable
andrequired
fields (#650) - Fixed generation of
putIfAbsent
for some models (#665) - Fixed generation of some border-cased models (#669)
- Fixed return type nullability (#670)
- Fixed generation of DateTime return types
- Fixed different issues
- Added generation of const constructors
- Added support of required not nullable properties (#650)
- Fixed generation of String responses in converter (#631)
- Fixes some stuff related to generation DateTime, reponse types and parameters types
- Bump
package:http
to^1.0.0
- Bump minimum dart version to
^3.0.0
- Fixed #625 generation of query enum parameters
- Fixed generation of fields of some models
- Updated SDK version
- Fixed generation of anyOf ref properties (#613)
- Fixed generation of very complex models inside of arrays inside of models etc.
- Fixed generation of models without properties and sample types
- Some fixed and refactoring
- Some fixed and refactoring
- Fixed generation of models with type
number
- Code refactoring
- Breaking Changed naming of Responses, RequestBodies
- Added converter as optional parameter for create()
- Fixed generation of multipart body parameters
-
Fixed generation
putIfAbsent
in requests for not needed schemas (#554) -
Added
hashCode
to exception words (#577) -
Fixed syntax issues with generation (#572)
-
Fixed generation of array of integers (#570)
-
Added generation of int64 as
int
(#568) -
Some fixes with generation arrays (#571)
- Fixed generation of enumMaps in case when no models defined (#540)
- Fixed some issues
- Fixed generation very comples swaggers with enums (#528)
- Implemented new enums support (Dart 2.17 and higher required) (#408)
- Fixed generation of nullable model properties (#522)
- Fixed generation of nullable model properties (#522)
- Fixed generation of @OptionalBody annotations (#509)
- Fixed generation of nullable model properties (#506)
- Breaking Changed String path to Uri in Chopper lib (#515)
- Fixed generation of request bodies and defined lists types
- Fixed generation of some List models
-
Fixed generation
allOf
properties with just properties (#507) -
Fixed generation of basic types refs and lists of them (#502)
-
Make Object in List of Object nullable (#498)
-
Fixed generation of request bodies in some cases (#489)
-
Added
Method
to key classes (#492) -
Fixed generation of list request bodies (#493)
- Fixed generation of request bodies with refs (#484)
- Fixed issue with duplicated enums (#470)
- Fixed issue with duplicated enums (#469)
- Fixed generation of some enums and classes (#458)
- Added Chopper 5.+ Support (#464)
- Fixed generation of List of enums using nullableLists properties
- Added option not to override
toString()
method
- Returned generation of @JsonValue for enums
- Fixed copyWith method generation (#438)
- Fixed generation of names with dots and other bad things (#449)
- Added new build options flag
override_equals_and_hashcode
to disable generation of hashCode and equals if need to decrease codebase
- Fixed issue with generation
+
and-
signs as enum names (#444)
- Implemented generation of copyWithWrapped (#438)
- Fixed generation of putIfAbsent for responses (#436)
- Fixed and optimizations
- Improved multipart support (#440)
- Breaking Removed
use_default_null_for_lists
option - Added new option:
classes_with_nullabe_lists
option to have avility to customise nullable lists on separate class. Use.*
regex
- Fixed some issues in swagger examples
- Fixed generation of basic types in responses by ref
- Fixed cases when enums has integer values in models
- Fixed cases with enums in request bodies
- Fixed generation of models with allOf (#410)
- Bugfixing
- Added new build option
additionalHeaders
. It allows to add some headers for ALL service requests
- Changed generation of dynamics enums to string enums in requests
- Code format
- Fixed generation of lists of objects in schemas (#398)
- Duplicated issue (#397)
- Global refactoring of Models generator
- Fixed generation of requrst properties annotations (#384)
- Various fixes and improvements
- Refactored generator caching flow
- Added generation of
allOff
models to not class, but to have ability to map it to any type
typedef ClassName = Map<String, dynamic>
- Added import
dart:convert
; when generate only models (#372)
- Made required properties in models not nullable (#324)
- Added
nullableModels
build option to made exeptions
- Fixed generation on Windows (#354)
- Rid of generation temp file while generation in process (#352)
- Added linter rule
ignore_for_file
for generated files (#350) - Fixed
dateToJson
generation whenseparateModels=true
(#347) - Added ability to add interceptors to create method (#349)
- Fixed code generation on Windows platform (#346)
- Fixed cases when class has name
Query
(#343) - Fixed cases when we have class and field named
class
and it's enum (#283) - Fixed names duplication when generator generates list of outputs
- Downgraded
path
dependency
- 🥳 Implemented yaml format support 🥳 (#337)
- Added toString generation for models (#340)
- Added ability to use swagger files from internet (#316)
input_folder
option is not requited now- Fixed naming issues and enum names generation
- Fixed generation of
Response<List<List<SomeClass>>>
(#331)
- Upgraded allOf generation without parameters (#329)
- Fixed cases when classes has name
Type
(#328)
- Fixed cases when we have
Stream<SomeClass>
as request parameter - Fixed cases when we have
List<List<....<SomeClass>>>
in model properties
- Fixed cases with array string definitions(#313)
- Added generation of
Map<String, dynamic>
for fields with additional properties(#296)
- Fixed enum prefix for list of enums in requests when Enums contain names with symbols(#305)
- Fixed some borded cases in Swagger generator(#311)
- Fixed generation of Enums, defined in /parameters/ and used in request parameters(#263)
- Fixed fromJson method for integer Enum fields in models
- Added support of integer enum values(#268)
- Removed use_inheritance option. Inheritance is supported by copy-pasting parent fields(#297)
- Fixed cases with Num instead of num in responses(#290)
- Remove prints
- Fix build warnings with no explanation during build(#291)
- [BREAKING]: Removed json map generation. Applied new approach(#289)
- Fixed support of int64 fields in Models
- Fixed support of fields type integer and format int64
- Fixed generation of enum fields in requests
- Changed int64 parsing to double(#285)
- Fix cases with complex enum names, which are duplicated in result(#265)
- Added example project
- Returned possibility to use operationId for request name(#275)
- Added generation of requestBodies integrated to requests, when it's complex model(#265)
- Fixes issues with allOf support
- Fixed issue with basic types in responses models
-
Added support
AllOf
(#138) -
Fixed problem with underscore (_) in form field names(#269)
-
Fixed generation of fields with type int32, int64. Parsing it like int
-
Fixed generation of responses and request bodies in separate file(#265)
- Added ability to generated models to separate file(#244)
- [BREAKING]: Removed generation of client_index if generate only models
- Updated changelog (see previous version changes)
- [BREAKING]: Upgraded to support json_serializable 5.0.0
- Fixed ability to set exclude_path and include_path(#245)
- Fix cases when responses was named like numbers(#248)
- Fixed cases when swagger has not put post get requests
- Added validation for requests names generation
- Updated packages json_serializable, json_annotation, build_runner
- Fix for default value for named parameters
- Fixed cases when parameters named by keywords, for example In, For, Class etx(#211)
- Added generation of parameters from, path (not only from requests)(#240)
- Fixed issues when content has no application/json child
- Fixed cases when field number 'number' generated as $num(#235)
- Fixed cases when field 'num' generated ad 'num' (basic dart type)
- Fixed issue when parameters named like int, double etc.(#108)
- Fixed cases when file names like some_file.extension.swagger.json.dart.json(#228)
- Removed generation of converter when build_only_models is true(#206)
- Added generation of int get hashCode(#221)
- Added example project
- Make dynamic non nullable(#186)
- Always generate request names from path(#204)
- [BREAKING]: Remove
use_path_for_request_names
build option(#204)
- [BREAKING]: Added dollar signs to generated converter and mappings
- Fixed border cases with parameters with duplicated names (for ex 'book' and 'book[]')(#212)
- Fixed cases when Parameters contains forbidden characters(#212)
- Fixed cases with dashes in request named
- Fixed models from responses names generation
- Fixed type
YamlMap
is not a subtype of typebool?
in type cast(#208)
- [BREAKING]:
includeIfNull
nowbool?
value. Needs update ofbuild.yaml
if this feature used
- Added support .json files instead .swagger (.swagger are supported too)(#201)
- Fixed errors when models has symbols, dots, numbers...(#202)
- Fully refactored requests generator
- Fixed class Attribute / Request Param collision(#187)
- Fixed enum maps in swagger.g.dart are missing
enums.
(#188)
- Fix case when enum in model has name with underscores.
- Updated logo design
- Fixed case when request does not have type specified. Made it Object.(#190)
- Fixed models generator in cases of List of Lists of Lists of... of some type
- Formatted code
- Add support for swagger 3.0.1(#72)
- Generate objects from injected objects(#163)
- Updated logo design
- Fixed issue with list of enums in request parameter
- Added new generator_options
- Added equals override method to all Models
- Removed meta dependency
- Fixed meta version to 1.3.0
- Updated dependencies
- Added possibility to made postfix for models
- Removed ..RemoveWhere spike on generated models
- Fixed Incorrect generated param name(#168)
- Fixed unsupported generated import in client_mapping.dart(#167)
- Fixed critical error
- Made header default values not sensitive
- Added build option to set default values for headers
- Made all models parameter not required
- Fixed generation of Lists of Strings for models
- Fixed issues with null-safety
- Fixed analyser issues
- Updated documentation
- Updated dependencies
- Implemented generation of models from responses injected
- Improve documentation
- Made generated enums not nullable
- Removed nullable from fields with default values
- Added support for null safety
- Generate models for 201 HTTP Responses too
- Added support of requestBody field for POST requests
- Fixed issue with usage of KEY instead of NAME on defined parametets
- Fixed issue with basic types in array elements
- Added null-check for _formatDate method
- Removed dependency to intl
- Removed support of template of date
- Set date parsing to
yyyy-MM-dd
- Added generation of custom date to json mapping.
- Added string build parameter with date format
date_formatter
- Hotfix for body generation
- Hotfix of using meta
- Fix issue with requestBody parameter. It was not used, currently it adds 'body' parameter to requests
- Added support of default value per item for bool properties. For ex.
"name": bool
, default istrue
- Fixed issue with
allOf
exception
- Fixed issue with datetime in refs
- Fixed issue with enums in definitions and Date time
- Added new build option use_inheritance to enable/disable inheritance support for v3
- Fixed issue with basic types (String, int...) used as definitions
- Added 'export file_name.swagger.enums.dart' to main generated file
- Fixed issue with pre-defined parameters on V3 version
- Fixed issue with Lists of enums in definitions
- Fixed issue with defined parameters on v2
- Introduced new flag to manage @required attribute of Headers
- Fixed problems with dash in file name(#102)
- Added generation of copyWith method for models
- Fixed problems with dash in file name(#99)
- [BREAKING]: Fixed enums naming. Enums with _ are replaced by PascalCase. For example, Response_type replaced by ResponseType.
- Fixed issue with
build_only_models
flag - [BREAKING]: fix misspelling with
overridden
word. If you use it, please add additionald
.
- Fixed error with ref in
allOf
and bool values in enums
- Fixed issue with adding responses to
JsonSerializableConverter
mapping
- Fixed issue with enum names in requests
- Fixed reusable Components - Parameters map
- Added support of int in request fields and models fields (Previously was only integer)
- Added ignoring of request parameters with empty IN parameter
- Added includeIfEmpty option to build options
- Added support of requestBody parameter (And enums as requestBody parameter)
- Fixed some minor bugs
- Fixed case when empty Enums generated from models
- Removed generation of empty Enums files
- Added new flag use_path_for_request_names. Read README to learn more about it
- Fixed commas in request parameters
- Fixed extends+ClassName structure for Swagger v3
- [BREAKING]:Removed
defaultValue
property for generated Lists of Enums
- Fixed not valid strings in FromJson method
- Added new property to build config named enums_case_sensitive
- Fixed issue when parsing List of Enums
- Code refactoring
- Removed swaggerGeneratedUnknown for Enums
- Remove code duplicates(#68)
- Fixed enums names
- Added sorting of imports and exports in alphabetical order
- Enums become being generated in separate file
- Fixed issues with big swagger files(#58)
- Fixed some bugs
- Fixed issues with Enums usage
- Fixed issues with enum naming name
- Fixed some bugs
- Fixed issue with enums in request bodies
- Implemented possibility to have enums in request body
- Fixed not standard request parameter Type names
- Added output message in case of formatting error
- Fixed a lot of issues with Enums in request parameters
- Changed naming approach for Enums in request parameters
- Fixed issue with key words in Enum/Model names
- Added support of
unknownEnumValue: MyClass.swaggerGeneratedUnknown
- Added usage of auto formatting code
- Fixed build error on Example
- Removed empty lines in pubspec.yaml
- Added defined type to generated converters
- Remove unnecessary braces
- Fixed client_index.dart file
- Implemented inheritance support. Models can extend others.
- Fixed bug with build_only_models flag
- Added missing tests for models_generator
- Fixed bug with request parameter and result type, when schema.ref used
- Added real example of usage with Pet Store
- Fix score on pub.dev
- Add more info to readme
- Fix warnings
- Add code coverage(codecov)
- Initial release