Skip to content

Commit f5ead3f

Browse files
committed
enable codegen for tests
1 parent c85f417 commit f5ead3f

File tree

394 files changed

+811
-15650
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

394 files changed

+811
-15650
lines changed

swagger_parser/analysis_options.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
include: package:carapacik_lints/core.yaml
22
analyzer:
33
exclude:
4-
- 'test/e2e/tests/**'
54
linter:
65
rules:
76
always_use_package_imports: false

swagger_parser/build.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
global_options:
2+
freezed:
3+
runs_before:
4+
- json_serializable
5+
json_serializable:
6+
runs_before:
7+
- retrofit_generator
8+
dart_mappable_builder:
9+
runs_before:
10+
- retrofit_generator
11+
options:
12+
renameMethods:
13+
toJson: toJsonString
14+
toMap: toJson
15+
16+
targets:
17+
$default:
18+
sources:
19+
include:
20+
- $package$
21+
- lib/**
22+
- test/**

swagger_parser/pubspec.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,14 @@ dependencies:
1919
yaml: ^3.1.2
2020

2121
dev_dependencies:
22+
dart_mappable:
23+
dart_mappable_builder:
24+
json_annotation:
25+
json_serializable:
26+
freezed_annotation:
27+
freezed:
28+
retrofit:
29+
retrofit_generator:
30+
build_runner:
2231
carapacik_lints: ^1.8.1
2332
test: ^1.25.2

0 commit comments

Comments
 (0)