http_api_generator 1.1.0 copy "http_api_generator: ^1.1.0" to clipboard
http_api_generator: ^1.1.0 copied to clipboard

A package that help you to generate Http Restful Api by annotation.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add http_api_generator

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

dependencies:
  http_api_generator: ^1.1.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:http_api_generator/annotation/api.dart';
import 'package:http_api_generator/annotation/method.dart';
import 'package:http_api_generator/annotation/param.dart';
import 'package:http_api_generator/entity/http_api_info.dart';
import 'package:http_api_generator/generator/builder.dart';
import 'package:http_api_generator/generator/generator.dart';
import 'package:http_api_generator/http_api.dart';
1
likes
0
pub points
57%
popularity

Publisher

unverified uploader

A package that help you to generate Http Restful Api by annotation.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, built_collection, code_builder, dart_style, meta, source_gen

More

Packages that depend on http_api_generator