rest_client_builder_generator 1.4.3 copy "rest_client_builder_generator: ^1.4.3" to clipboard
rest_client_builder_generator: ^1.4.3 copied to clipboard

Code-generation builder for rest_client_builder. Provides build_runner builders that generate typed REST client implementations and JSON serialization helpers from @RestApi, @RestModel, and @RestConfi [...]

rest_client_builder_generator #

The code-generation engine for est_client_builder.

This package provides the uild_runner builders that inspect your @RestApi, @RestModel, @RestConfiguration, and @RestKey annotations to generate fully typed, production-ready REST clients and JSON serializers.

Add this package to your project's dev_dependencies.

Getting started #

In your Dart or Flutter project's pubspec.yaml:

`yaml dependencies: rest_client_builder: ^1.4.3

dev_dependencies: rest_client_builder_generator: ^1.4.3 build_runner: ^2.4.15 `

Running the Code Generator #

Run uild_runner to generate code:

ash dart run build_runner build --delete-conflicting-outputs

All generated files land cleanly under lib/generated/ by default.

For comprehensive documentation, annotations, and features, refer to the rest_client_builder documentation.

0
likes
130
points
63
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Code-generation builder for rest_client_builder. Provides build_runner builders that generate typed REST client implementations and JSON serialization helpers from @RestApi, @RestModel, and @RestConfiguration annotations. Add this to dev_dependencies only.

Topics

#rest #api #codegen #build-runner #clean-architecture

License

MIT (license)

Dependencies

analyzer, build, code_builder, dart_style, glob, json_annotation, rest_client_builder, source_gen

More

Packages that depend on rest_client_builder_generator