diff --git a/packages/dynamite/dynamite/lib/dynamite.dart b/packages/dynamite/dynamite/lib/dynamite.dart index 190cddf9..f8fd102e 100644 --- a/packages/dynamite/dynamite/lib/dynamite.dart +++ b/packages/dynamite/dynamite/lib/dynamite.dart @@ -1,16 +1,4 @@ +// ignore: unnecessary_library_directive library dynamite; -import 'dart:convert'; - -import 'package:build/build.dart'; -import 'package:code_builder/code_builder.dart'; -import 'package:collection/collection.dart'; -import 'package:dart_style/dart_style.dart'; -import 'package:dynamite/src/models/open_api.dart'; -import 'package:dynamite/src/models/parameter.dart' as spec_parameter; -import 'package:dynamite/src/models/path_item.dart'; -import 'package:dynamite/src/models/schema.dart'; -import 'package:dynamite/src/type_result/type_result.dart'; -import 'package:path/path.dart' as p; - -part 'src/openapi_builder.dart'; +export 'src/openapi_builder.dart'; diff --git a/packages/dynamite/dynamite/lib/src/openapi_builder.dart b/packages/dynamite/dynamite/lib/src/openapi_builder.dart index 4f6971a3..a2f68439 100644 --- a/packages/dynamite/dynamite/lib/src/openapi_builder.dart +++ b/packages/dynamite/dynamite/lib/src/openapi_builder.dart @@ -1,4 +1,15 @@ -part of '../dynamite.dart'; +import 'dart:convert'; + +import 'package:build/build.dart'; +import 'package:code_builder/code_builder.dart'; +import 'package:collection/collection.dart'; +import 'package:dart_style/dart_style.dart'; +import 'package:dynamite/src/models/open_api.dart'; +import 'package:dynamite/src/models/parameter.dart' as spec_parameter; +import 'package:dynamite/src/models/path_item.dart'; +import 'package:dynamite/src/models/schema.dart'; +import 'package:dynamite/src/type_result/type_result.dart'; +import 'package:path/path.dart' as p; class OpenAPIBuilder implements Builder { @override