dart_swagger_to_api_client 1.1.1 copy "dart_swagger_to_api_client: ^1.1.1" to clipboard
dart_swagger_to_api_client: ^1.1.1 copied to clipboard

Generate type-safe HTTP API clients from OpenAPI/Swagger specs for Dart and Flutter.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_swagger_to_api_client

With Flutter:

 $ flutter pub add dart_swagger_to_api_client

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

dependencies:
  dart_swagger_to_api_client: ^1.1.1

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

Import it

Now in your Dart code, you can use:

import 'package:dart_swagger_to_api_client/dart_swagger_to_api_client.dart';
1
likes
160
points
119
downloads
screenshot

Publisher

verified publishergoodwin.website

Weekly Downloads

Generate type-safe HTTP API clients from OpenAPI/Swagger specs for Dart and Flutter.

Repository (GitHub)
View/report issues

Topics

#openapi #swagger #code-generator #codegen #http-client

Documentation

API reference

License

MIT (license)

Dependencies

args, crypto, dio, http, meta, path, yaml

More

Packages that depend on dart_swagger_to_api_client