openapi_dart_common 3.3.1 copy "openapi_dart_common: ^3.3.1" to clipboard
openapi_dart_common: ^3.3.1 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: ^3.3.1

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/openapi.dart';
4
likes
30
pub points
87%
popularity

Publisher

verified publisherbluebiscuitdesign.dev

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

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

dio, http_multi_server

More

Packages that depend on openapi_dart_common