openapi_infrastructure 2.0.1 copy "openapi_infrastructure: ^2.0.1" to clipboard
openapi_infrastructure: ^2.0.1 copied to clipboard

A shared package for openapi clients to use that provides helpful abstractions.

A shared package for openapi clients to use that provides helpful abstractions.

Features #

  • Expose NetworkingClientBase with a single sendRequest method.
  • abstract all types of requests (including multipart) via HttpRequestBase and responses via HttpResponseBase
  • UndefinedWrapper<T> which uses extension types to wrap undefined values, which are different from nullable values
    • A nullable value can be serialized to a json null
    • An undefined value should NOT be included in a JSON map in the first place.

Getting started #

Depend on the package

dart pub add openapi_infrastructure
0
likes
140
pub points
22%
popularity

Publisher

verified publisherbdaya-dev.com

A shared package for openapi clients to use that provides helpful abstractions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http_parser, meta

More

Packages that depend on openapi_infrastructure