swagger_parser 1.2.0 copy "swagger_parser: ^1.2.0" to clipboard
swagger_parser: ^1.2.0 copied to clipboard

Package that generates REST clients and data classes from OpenApi definition file

1.2.0 #

  • Updated retrofit_generator dependency 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.7 #

  • Fixed classes as body parameters (#61)

1.0.6 #

  • Fixed generation default enum values (#58)
  • Add new keywords to check the name of variables

1.0.5 #

  • Fixed generation default enum values in client (#56)

1.0.4 #

  • Fixed parsing Body in OpenApi v2 (#53)
  • Add multiline comments (#54)
  • Fixed items name in enum generation (#55)

1.0.3 #

  • Fixed error with default value in dart json_serializable generation

1.0.2 #

  • Fixed error with application/x-www-form-urlencoded (#45)

1.0.1 #

  • Fixed error with nullable in array (#43)

1.0.0+1 #

1.0.0 #

  • Require Dart >= 2.19
  • Add support for description annotation
  • Add root_interface option to generate root interface for all Clients
  • Refactor code related to nullable

0.10.3 #

  • Now uses ref to identify return type of client method if type also exists

0.10.2 #

  • defaultValue in dart class now generates in constructor
  • Fixed error with empty client_postfix

0.10.1 #

  • Fixed error with servers in requests (#32)
  • Use operationId for method name(if such a field exists)

0.10.0 #

  • Fixed error with enum values not parsed in object properties
  • Use 2xx codes if code 200 not found
  • nullable types are now supported

0.9.1 #

  • Use JsonEnum and JsonValue on generated enum

0.9.0 #

  • Single ref sibling elements are now defined as typedefs instead of generating excess classes
  • Fixed error with Null type with empty type in schema

0.8.1 #

  • Added DateTime to the format for processing types (#16)

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 File type
  • Add support for additionalProperties annotations
  • Fixed templates
  • Fixed error with yaml files

0.6.4 #

  • Update example
  • Remove implicit_dynamic field 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 yaml files
  • BREAKING: Rename json_path in pubspec.yaml to schema_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 default annotations
  • 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 number type to map double
  • Fixed the problem with object type to map Dart Object
  • Updates the README with instructions and steps to generate the code

0.3.0 #

  • Add support for required annotations
  • 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 #

0.1.0 #

  • Initial release
85
likes
0
pub points
80%
popularity

Publisher

verified publishercarapacik.dev

Package that generates REST clients and data classes from OpenApi definition file

Homepage
Repository (GitHub)
View/report issues

Topics

#swagger #openapi #codegen #api #json

License

unknown (license)

Dependencies

args, collection, path, yaml

More

Packages that depend on swagger_parser