swagger_parser 1.10.2
swagger_parser: ^1.10.2 copied to clipboard
Package that generates REST clients and data classes from OpenApi definition file
1.10.2 #
- Fix error in
bodywith name in dart template
1.10.0 #
- Support for generating schemas by url (see example)
- Add new config parameter
schema_url - Add new config parameter
schema_from_url_to_file - Add new config parameter
prefer_schema_source
1.9.1 #
- Handling incorrect names for classes, enums and methods.
- Additional name for unnamed models (#98)
- Support for
deprecatedannotations for methods
1.9.0 #
1.8.0 #
- Multiple schemas support (see example)
- Support for specifying nullable types via anyOf
- Edit root client template
- Add new config parameter
root_client_name - Add new config parameter
name - Add new config parameter
put_in_folder - Add new config parameter
squash_clients - Rename
root_interfacetoroot_client - Rename
squish_clientstoput_clients_in_folder
1.7.0 #
- Add new config parameter
mark_files_as_generated - Support of default values for ref enum types
- Type support in one-element allOf, anyOf and oneOf
1.6.2 #
- Fix grouping words for abbreviations when special characters are present
- Fix replacement type for enum classes
- Takes case in replacement
1.6.1 #
- Add summary of the methods to the code docs
- Fix indents for multiline code docs
- Add support for root client code docs
1.6.0 #
- Add new config parameter
path_method_name
1.5.0 #
- Requires Dart 3.0 or later
1.4.0 #
1.3.4 #
- Enum prefix only for variable type now
1.3.2 #
- Fix error with replacement rules in allOf
1.3.0 #
- Add possibility to add enum prefix from parent component (#29). Change
enums_prefixto true to enable this option
1.2.4 #
- Fixed names for negative enum values
1.2.1 #
- Updated
retrofit_generatordependency to 7.0.8 and added config option to generate.toJson()methods in enums (retrofit_generatorwill use.toJson()instead of.namein this case)
1.2.0 #
- Updated
retrofit_generatordependency to 7.0.7 and consequently removed unused.toJson()generated methods in enums
1.1.0 #
- Add regex replacement for generated class names
- Fixed error with null raw parameter in OpenApi v2 (#63)
1.0.4 #
1.0.3 #
- Fixed error with default value in dart json_serializable generation
1.0.0+1 #
- Add
root_interfaceoption to web interface - Add topics
1.0.0 #
- Require Dart >= 2.19
- Add support for
descriptionannotation - Add
root_interfaceoption to generate root interface for all Clients - Refactor code related to
nullable
0.10.3 #
- Now uses
refto identify return type of client method iftypealso exists
0.10.2 #
defaultValuein dart class now generates in constructor- Fixed error with empty
client_postfix
0.10.1 #
- Fixed error with
serversin requests (#32) - Use
operationIdfor method name(if such a field exists)
0.10.0 #
- Fixed error with
enumvalues not parsed in object properties - Use 2xx codes if code 200 not found
nullabletypes are now supported
0.9.1 #
- Use
JsonEnumandJsonValueon generated enum
0.9.0 #
- Single ref sibling elements are now defined as typedefs instead of generating excess classes
- Fixed error with
Nulltype with empty type in schema
0.8.0 #
- Support for dio 5
- Downgraded the lower bound of dependencies to support Flutter 3.0
- Complete templates for Kotlin
0.7.0 #
- Fixed error with import for
Filetype - Add support for
additionalPropertiesannotations - Fixed templates
- Fixed error with yaml files
0.6.4 #
- Update example
- Remove
implicit_dynamicfield for analyzer
0.6.3 #
- Fixed error with return type in rest client
0.6.2 #
- Update docs
0.6.1 #
- Fixed error with Multipart file type in retrofit
- Update dart api docs
- Update web interface
0.6.0 #
- Add support for
yamlfiles - BREAKING: Rename
json_pathin pubspec.yaml toschema_path
0.5.1 #
- Fixed problem with default value in freezed template
0.5.0 #
- Objects are now recognized and are being generated as DTOs
- Fixed some problems with defaultValue
- Fixed some problems with return type
- Fixed some problems with naming parameters whose names are similar to dart keywords
0.4.1 #
- Fixed a problem with parameters whose names are similar to dart keywords
- Fixed a problem with postfix in file import
0.4.0 #
- Add support for
defaultannotations - Add enum support for dart
- Fixed errors with Multipart
- Fixed errors with Kotlin types
0.3.1 #
- Fixed error with
@in url path - Fixed the problem with
numbertype to mapdouble - Fixed the problem with
objecttype to map DartObject - Updates the README with instructions and steps to generate the code
0.3.0 #
- Add support for
requiredannotations - Fixed error with rest client parameters type in OpenApi v2
0.2.4 #
- Fixed error with
.and,in url path
0.2.3 #
- Fixed error in MultiPart with single
$ref
0.2.2 #
- Remove swagger_parser section from pubspec.yaml
- Update dependencies in example
0.2.1 #
- Fixed README
- Fixed workflow files
0.2.0 #
- Fixed errors with generation of data classes containing
allOf - Fixed errors with templates
- Add web interface for package https://carapacik.github.io/swagger_parser
- Add generator tests
0.1.0 #
- Initial release