openapi_generator_cli 2.2.0 copy "openapi_generator_cli: ^2.2.0" to clipboard
openapi_generator_cli: ^2.2.0 copied to clipboard

outdated

A dart wrapper around openapi-generator inspired by the node implementation.

pub package

CLI generator wrapper for dart/flutter implementation of openapi client code generation.

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. Please see OpenAPITools/openapi-generator for more information

license.

Usage #

CLI #

Run

pub global activate openapi_generator_cli

Then you can run the generator using the command below.

openapi-generator generate -i http://127.0.0.1:8111/v3/api-docs -g dart

See OpenAPITools/openapi-generator for more commands

Note: Pub installs executables into {flutter sdk dir}/.pub-cache/bin, which has to be in your PATH for the above command to work.

Dart/Flutter #

You can use this package also using the openapi-generator dart plugin that helps you configure the appropriate commands. You can find it here

Features and bugs #

Please file feature requests and bugs at the issue tracker.

18
likes
40
pub points
71%
popularity

Publisher

verified publisherdevappliance.com

A dart wrapper around openapi-generator inspired by the node implementation.

Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

More

Packages that depend on openapi_generator_cli