openapi_generator 3.2.0+2 openapi_generator: ^3.2.0+2 copied to clipboard
Generator for openapi client sdk inspired by the npm implementation of openapi-generator-cli.
import 'package:openapi_generator_annotations/openapi_generator_annotations.dart';
@Openapi(
additionalProperties: AdditionalProperties(
pubName: 'petstore_api', pubAuthor: 'Johnny dep..'),
inputSpecFile: 'example/openapi-spec.yaml',
generatorName: Generator.dart,
outputDirectory: 'api/petstore_api')
class Example extends OpenapiGeneratorConfig {}