31 lines
1.2 KiB
Dart
31 lines
1.2 KiB
Dart
/// # Swagger Generator Flutter
|
|
///
|
|
/// A powerful Flutter OpenAPI 3.0 code generator, optimized for the Dio + Retrofit stack.
|
|
///
|
|
/// ## Core Components
|
|
///
|
|
/// - **Config**: `ConfigRepository` for loading and accessing configuration.
|
|
/// - **Parse**: `SwaggerDataParser` to fetch and parse OpenAPI documents.
|
|
/// - **Validate**: `EnhancedValidator` to validate documents against OpenAPI specs and best practices.
|
|
/// - **Generate**: `ModelCodeGenerator` and `RetrofitApiGenerator` for creating Dart code.
|
|
/// - **Render**: `TemplateRenderer` for Mustache-based template rendering.
|
|
/// - **Output**: `GenerationOutputService` to write generated files to disk.
|
|
|
|
library;
|
|
|
|
// --- Core Public API ---
|
|
export 'core/config_repository.dart';
|
|
export 'core/error_reporter.dart';
|
|
export 'core/models.dart';
|
|
// --- Pipeline API ---
|
|
export 'pipeline/generate/apis.dart';
|
|
export 'pipeline/generate/models.dart';
|
|
export 'pipeline/output/generation_output_service.dart';
|
|
export 'pipeline/parse/swagger_data_parser.dart';
|
|
export 'pipeline/render/template_renderer.dart';
|
|
export 'pipeline/validate/enhanced_validator.dart';
|
|
// --- Utilities ---
|
|
export 'utils/logger.dart';
|
|
export 'utils/path_resolver.dart';
|
|
export 'utils/string_utils.dart';
|