clean_api_codegen 0.1.2 copy "clean_api_codegen: ^0.1.2" to clipboard
clean_api_codegen: ^0.1.2 copied to clipboard

Clean architecture code generator for OpenAPI (REST/JSON) that produces data/domain layers.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate clean_api_codegen

Use it

The package has the following executables:

$ clean_api_codegen

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add clean_api_codegen

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

dependencies:
  clean_api_codegen: ^0.1.2

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:clean_api_codegen/clean_api_codegen.dart';
3
likes
120
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

Clean architecture code generator for OpenAPI (REST/JSON) that produces data/domain layers.

Topics

#codegen #openapi #clean-architecture

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, path, source_gen, yaml

More

Packages that depend on clean_api_codegen