modular_api 0.6.0 copy "modular_api: ^0.6.0" to clipboard
modular_api: ^0.6.0 copied to clipboard

Use-case centric API toolkit for Dart — Shelf UseCase base class, HTTP adapters, CORS middleware, and automatic OpenAPI documentation.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add modular_api

With Flutter:

 $ flutter pub add modular_api

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

dependencies:
  modular_api: ^0.6.0

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:modular_api/modular_api.dart';
1
likes
160
points
222
downloads

Documentation

API reference

Publisher

verified publisherccisne.dev

Weekly Downloads

Use-case centric API toolkit for Dart — Shelf UseCase base class, HTTP adapters, CORS middleware, and automatic OpenAPI documentation.

Homepage
Repository (GitHub)
View/report issues

Topics

#api #openapi #macss

License

MIT (license)

Dependencies

crypto, gql, json5, leto, leto_schema, leto_shelf, shelf, shelf_router

More

Packages that depend on modular_api