openapi_generator_annotations 1.0.0 copy "openapi_generator_annotations: ^1.0.0" to clipboard
openapi_generator_annotations: ^1.0.0 copied to clipboard

outdated

Annotations for openapi code generation.

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 {}