-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.yaml
41 lines (41 loc) · 1.28 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
targets:
$default:
sources:
- $package$
- lib/**
- swagger/**
builders:
chopper_generator:
options:
header: "//Generated code"
swagger_dart_code_generator:
options:
with_base_url: false
#with_converter: true
#use_required_attribute_for_headers: true
#ignore_headers: false
#use_default_null_for_lists: false
#use_inheritance: false
#build_only_models: false
#model_postfix: "Dto"
#use_path_for_request_names: true
include_if_null: false
input_folder: "swagger/"
output_folder: "lib/generated_code/"
#enums_case_sensitive: true
#default_values_map:
# - type_name: int
# default_value: "36"
# - type_name: String
# default_value: ""
#exclude_paths:
# - "/pet/findByStatus"
#default_header_values_map:
# - header_name: "X-Rate-Limit"
# default_value: "12121212"
# - header_name: "Api_key"
# default_value: "some_api_key"
#response_override_value_map:
# - url: "/store/inventory"
# method: get
# overridden_value: "List<dynamic>"