Browse Source

refactor(dynamite): restructure package

Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
pull/694/head
Nikolas Rimikis 1 year ago
parent
commit
383c0be59a
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 16
      packages/dynamite/dynamite/lib/dynamite.dart
  2. 13
      packages/dynamite/dynamite/lib/src/openapi_builder.dart

16
packages/dynamite/dynamite/lib/dynamite.dart

@ -1,16 +1,4 @@
// ignore: unnecessary_library_directive
library dynamite; library dynamite;
import 'dart:convert'; export 'src/openapi_builder.dart';
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';

13
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 { class OpenAPIBuilder implements Builder {
@override @override

Loading…
Cancel
Save