You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
586 B
23 lines
586 B
2 years ago
|
targets:
|
||
|
$default:
|
||
|
builders:
|
||
|
json_serializable:
|
||
|
options:
|
||
|
disallow_unrecognized_keys: true
|
||
|
explicit_to_json: true
|
||
|
create_factory: true
|
||
|
create_to_json: true
|
||
|
include_if_null: false
|
||
|
dynamite:
|
||
|
enabled: true
|
||
|
|
||
|
builders:
|
||
|
dynamite:
|
||
|
import: "package:dynamite/builder.dart"
|
||
|
builder_factories: ["openAPIBuilder"]
|
||
|
build_extensions: {'.openapi.json': ['openapi.dart']}
|
||
|
auto_apply: root_package
|
||
|
build_to: source
|
||
|
runs_before: ["json_serializable"]
|
||
|
applies_builders: ["json_serializable"]
|