openapi_dart_common 4.0.0 copy "openapi_dart_common: ^4.0.0" to clipboard
openapi_dart_common: ^4.0.0 copied to clipboard

outdated

OpenAPI API common libraries so the generator doesn't generate them

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add openapi_dart_common

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  openapi_dart_common: ^4.0.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:openapi_dart_common/api_client.dart';
import 'package:openapi_dart_common/api_delegates.dart';
import 'package:openapi_dart_common/api_dio_client_delegate.dart';
import 'package:openapi_dart_common/api_exception.dart';
import 'package:openapi_dart_common/api_helper.dart';
import 'package:openapi_dart_common/auth/api_key_auth.dart';
import 'package:openapi_dart_common/auth/authentication.dart';
import 'package:openapi_dart_common/auth/http_basic_auth.dart';
import 'package:openapi_dart_common/auth/oauth.dart';
import 'package:openapi_dart_common/deserialisation_error.dart';
import 'package:openapi_dart_common/openapi.dart';
4
likes
0
pub points
87%
popularity

Publisher

verified publisherbluebiscuitdesign.dev

OpenAPI API common libraries so the generator doesn't generate them

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio

More

Packages that depend on openapi_dart_common