openapi_generator_annotations 0.0.2-dev copy "openapi_generator_annotations: ^0.0.2-dev" to clipboard
openapi_generator_annotations: ^0.0.2-dev copied to clipboard

outdated

A starting point for Dart libraries or applications.

example/example.dart

import 'package:openapi_generator_annotations/openapi_generator_annotations.dart';

@Openapi(
    additionalProperties:
        AdditionalProperties(pubName: 'petstore_api', pubAuthor: 'Johnny dep'),
    inputSpecFile: 'example/openapi-spec.yaml',
    generatorName: 'dart-jaguar',
    outputDirectory: 'api/petstore_api')
class Example extends OpenapiGeneratorConfig {}