openapi_spec 0.5.9 copy "openapi_spec: ^0.5.9" to clipboard
openapi_spec: ^0.5.9 copied to clipboard

OpenAPI Specification generator using native Dart code, as well as an all-in-one parser of existing specifications.

Changelog #

0.5.9 #

  • Ensure query parameters are stringified
  • Allow URI construction to handle query parameter encoding

0.5.7 #

  • Fix client generation when no default server host provided

0.5.6 #

  • Fix issue with security scheme not added to host during client generation

0.5.5 #

  • Fix invalid method name generated if path contains parameters
  • Add support for patterns in path params

0.5.3 #

  • Maintain all caps schema names in schema/client generation

0.5.2 #

  • Fix Dart classes not using pascal case

0.5.1 #

  • Remove "secure" argument from client generation

0.5.0 #

  • Improved client generation, honor global server
  • Honor port definition defined in host
  • Add ChromaDB as another test to exercise generation code

0.4.13 #

  • Support more return types in auto-client generation

0.4.12 #

  • Make HTTP client public in auto client generation

0.4.11 #

  • Keep all caps class names in schema generation

0.4.10 #

  • Better handling of whitespace in schema generation
  • Update package dependencies

0.4.9 #

  • Remove null check for dynamic type in schema generation

0.4.8 #

  • Add default value for schema validation constants

0.4.5 #

  • Convert union types to sealed classes
  • Make union constructors public

0.4.4 #

  • Reduce collection package version requirement

0.4.3 #

  • Ensure client exception returns object

0.4.2 #

  • Allow custom headers to server exception response

0.4.1 #

  • Make schema required for endpoint parameters

0.4.0 #

  • New server error response schema

0.3.9 #

  • Update to Swagger-UI v4.19.0

0.3.8 #

  • Improved server error handling
  • Simplify toMap() generator logic

0.3.7 #

  • Remove OpenAPI spec version from generated code
  • Change the default spec version value to 3.0.3

0.3.6 #

  • Add onBadRequest and onException server callbacks
  • Update to the lints 2.1.1

0.3.5 #

  • Ensure all properties honor the toMap operation
  • Add default value for query params in client generation
  • Option to include unexpected error data in failed responses

0.3.4 #

  • Support nullable schema field
  • Add Union scheme type decode logic to client generation

0.3.3 #

  • Improved content type support

0.3.2 #

  • Add HTTP basic auth client generator support

0.3.1 #

  • Fix nullable toMap bug

0.3.0 #

  • Addition of server generator

0.2.1 #

  • Added protections for numeric value JSON parsing

0.2.0 #

  • Infrastructure to support automatic union types
  • Addition of customizable generator options
  • Capability to add request/response client middleware
  • Parsing now handles anyOf and allOf schema properties
  • Add validation values to schema definition as constants

0.1.0 #

  • Initial release of openapi_spec - Beta
3
likes
0
pub points
56%
popularity

Publisher

verified publishertazatechnology.com

OpenAPI Specification generator using native Dart code, as well as an all-in-one parser of existing specifications.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (LICENSE)

Dependencies

collection, freezed_annotation, http, intl, json_annotation, path, recase, yaml

More

Packages that depend on openapi_spec