Skip to content

Commit bf79eac

Browse files
committed
New config for dart-dio (timemachine)
1 parent f779161 commit bf79eac

File tree

189 files changed

+16561
-0
lines changed

Some content is hidden

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

189 files changed

+16561
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
generatorName: dart-dio
2+
outputDir: samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-timemachine
3+
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
4+
templateDir: modules/openapi-generator/src/main/resources/dart/libraries/dio
5+
typeMappings:
6+
Client: "ModelClient"
7+
File: "ModelFile"
8+
EnumClass: "ModelEnumClass"
9+
additionalProperties:
10+
hideGenerationTimestamp: "true"
11+
enumUnknownDefaultCase: "true"
12+
dateLibrary: "timemachine"
13+
reservedWordsMappings:
14+
class: "classField"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# See https://dart.dev/guides/libraries/private-files
2+
3+
# Files and directories created by pub
4+
.dart_tool/
5+
.buildlog
6+
.packages
7+
.project
8+
.pub/
9+
build/
10+
**/packages/
11+
12+
# Files created by dart2js
13+
# (Most Dart developers will use pub build to compile Dart, use/modify these
14+
# rules if you intend to use dart2js directly
15+
# Convention is to use extension '.dart.js' for Dart compiled to Javascript to
16+
# differentiate from explicit Javascript files)
17+
*.dart.js
18+
*.part.js
19+
*.js.deps
20+
*.js.map
21+
*.info.json
22+
23+
# Directory created by dartdoc
24+
doc/api/
25+
26+
# Don't commit pubspec lock file
27+
# (Library packages only! Remove pattern if developing an application package)
28+
pubspec.lock
29+
30+
# Don’t commit files and directories created by other development environments.
31+
# For example, if your development environment creates any of the following files,
32+
# consider putting them in a global ignore file:
33+
34+
# IntelliJ
35+
*.iml
36+
*.ipr
37+
*.iws
38+
.idea/
39+
40+
# Mac
41+
.DS_Store
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
.gitignore
2+
.openapi-generator-ignore
3+
README.md
4+
analysis_options.yaml
5+
doc/AdditionalPropertiesClass.md
6+
doc/AllOfWithSingleRef.md
7+
doc/Animal.md
8+
doc/AnotherFakeApi.md
9+
doc/ApiResponse.md
10+
doc/ArrayOfArrayOfNumberOnly.md
11+
doc/ArrayOfNumberOnly.md
12+
doc/ArrayTest.md
13+
doc/Capitalization.md
14+
doc/Cat.md
15+
doc/Category.md
16+
doc/ChildWithNullable.md
17+
doc/ClassModel.md
18+
doc/DefaultApi.md
19+
doc/DeprecatedObject.md
20+
doc/Dog.md
21+
doc/EnumArrays.md
22+
doc/EnumTest.md
23+
doc/FakeApi.md
24+
doc/FakeBigDecimalMap200Response.md
25+
doc/FakeClassnameTags123Api.md
26+
doc/FileSchemaTestClass.md
27+
doc/Foo.md
28+
doc/FooGetDefaultResponse.md
29+
doc/FormatTest.md
30+
doc/HasOnlyReadOnly.md
31+
doc/HealthCheckResult.md
32+
doc/MapTest.md
33+
doc/MixedPropertiesAndAdditionalPropertiesClass.md
34+
doc/Model200Response.md
35+
doc/ModelClient.md
36+
doc/ModelEnumClass.md
37+
doc/ModelFile.md
38+
doc/ModelList.md
39+
doc/ModelReturn.md
40+
doc/Name.md
41+
doc/NullableClass.md
42+
doc/NumberOnly.md
43+
doc/ObjectWithDeprecatedFields.md
44+
doc/Order.md
45+
doc/OuterComposite.md
46+
doc/OuterEnum.md
47+
doc/OuterEnumDefaultValue.md
48+
doc/OuterEnumInteger.md
49+
doc/OuterEnumIntegerDefaultValue.md
50+
doc/OuterObjectWithEnumProperty.md
51+
doc/ParentWithNullable.md
52+
doc/Pet.md
53+
doc/PetApi.md
54+
doc/ReadOnlyFirst.md
55+
doc/SingleRefType.md
56+
doc/SpecialModelName.md
57+
doc/StoreApi.md
58+
doc/Tag.md
59+
doc/TestInlineFreeformAdditionalPropertiesRequest.md
60+
doc/User.md
61+
doc/UserApi.md
62+
lib/openapi.dart
63+
lib/src/api.dart
64+
lib/src/api/another_fake_api.dart
65+
lib/src/api/default_api.dart
66+
lib/src/api/fake_api.dart
67+
lib/src/api/fake_classname_tags123_api.dart
68+
lib/src/api/pet_api.dart
69+
lib/src/api/store_api.dart
70+
lib/src/api/user_api.dart
71+
lib/src/api_util.dart
72+
lib/src/auth/api_key_auth.dart
73+
lib/src/auth/auth.dart
74+
lib/src/auth/basic_auth.dart
75+
lib/src/auth/bearer_auth.dart
76+
lib/src/auth/oauth.dart
77+
lib/src/model/additional_properties_class.dart
78+
lib/src/model/all_of_with_single_ref.dart
79+
lib/src/model/animal.dart
80+
lib/src/model/api_response.dart
81+
lib/src/model/array_of_array_of_number_only.dart
82+
lib/src/model/array_of_number_only.dart
83+
lib/src/model/array_test.dart
84+
lib/src/model/capitalization.dart
85+
lib/src/model/cat.dart
86+
lib/src/model/category.dart
87+
lib/src/model/child_with_nullable.dart
88+
lib/src/model/class_model.dart
89+
lib/src/model/deprecated_object.dart
90+
lib/src/model/dog.dart
91+
lib/src/model/enum_arrays.dart
92+
lib/src/model/enum_test.dart
93+
lib/src/model/fake_big_decimal_map200_response.dart
94+
lib/src/model/file_schema_test_class.dart
95+
lib/src/model/foo.dart
96+
lib/src/model/foo_get_default_response.dart
97+
lib/src/model/format_test.dart
98+
lib/src/model/has_only_read_only.dart
99+
lib/src/model/health_check_result.dart
100+
lib/src/model/map_test.dart
101+
lib/src/model/mixed_properties_and_additional_properties_class.dart
102+
lib/src/model/model200_response.dart
103+
lib/src/model/model_client.dart
104+
lib/src/model/model_enum_class.dart
105+
lib/src/model/model_file.dart
106+
lib/src/model/model_list.dart
107+
lib/src/model/model_return.dart
108+
lib/src/model/name.dart
109+
lib/src/model/nullable_class.dart
110+
lib/src/model/number_only.dart
111+
lib/src/model/object_with_deprecated_fields.dart
112+
lib/src/model/order.dart
113+
lib/src/model/outer_composite.dart
114+
lib/src/model/outer_enum.dart
115+
lib/src/model/outer_enum_default_value.dart
116+
lib/src/model/outer_enum_integer.dart
117+
lib/src/model/outer_enum_integer_default_value.dart
118+
lib/src/model/outer_object_with_enum_property.dart
119+
lib/src/model/parent_with_nullable.dart
120+
lib/src/model/pet.dart
121+
lib/src/model/read_only_first.dart
122+
lib/src/model/single_ref_type.dart
123+
lib/src/model/special_model_name.dart
124+
lib/src/model/tag.dart
125+
lib/src/model/test_inline_freeform_additional_properties_request.dart
126+
lib/src/model/user.dart
127+
lib/src/offset_date_serializer.dart
128+
lib/src/serializers.dart
129+
pubspec.yaml
130+
test/additional_properties_class_test.dart
131+
test/all_of_with_single_ref_test.dart
132+
test/animal_test.dart
133+
test/another_fake_api_test.dart
134+
test/api_response_test.dart
135+
test/array_of_array_of_number_only_test.dart
136+
test/array_of_number_only_test.dart
137+
test/array_test_test.dart
138+
test/capitalization_test.dart
139+
test/cat_test.dart
140+
test/category_test.dart
141+
test/child_with_nullable_test.dart
142+
test/class_model_test.dart
143+
test/default_api_test.dart
144+
test/deprecated_object_test.dart
145+
test/dog_test.dart
146+
test/enum_arrays_test.dart
147+
test/enum_test_test.dart
148+
test/fake_api_test.dart
149+
test/fake_big_decimal_map200_response_test.dart
150+
test/fake_classname_tags123_api_test.dart
151+
test/file_schema_test_class_test.dart
152+
test/foo_get_default_response_test.dart
153+
test/foo_test.dart
154+
test/format_test_test.dart
155+
test/has_only_read_only_test.dart
156+
test/health_check_result_test.dart
157+
test/map_test_test.dart
158+
test/mixed_properties_and_additional_properties_class_test.dart
159+
test/model200_response_test.dart
160+
test/model_client_test.dart
161+
test/model_enum_class_test.dart
162+
test/model_file_test.dart
163+
test/model_list_test.dart
164+
test/model_return_test.dart
165+
test/name_test.dart
166+
test/nullable_class_test.dart
167+
test/number_only_test.dart
168+
test/object_with_deprecated_fields_test.dart
169+
test/order_test.dart
170+
test/outer_composite_test.dart
171+
test/outer_enum_default_value_test.dart
172+
test/outer_enum_integer_default_value_test.dart
173+
test/outer_enum_integer_test.dart
174+
test/outer_enum_test.dart
175+
test/outer_object_with_enum_property_test.dart
176+
test/parent_with_nullable_test.dart
177+
test/pet_api_test.dart
178+
test/pet_test.dart
179+
test/read_only_first_test.dart
180+
test/single_ref_type_test.dart
181+
test/special_model_name_test.dart
182+
test/store_api_test.dart
183+
test/tag_test.dart
184+
test/test_inline_freeform_additional_properties_request_test.dart
185+
test/user_api_test.dart
186+
test/user_test.dart
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.13.0-SNAPSHOT

0 commit comments

Comments
 (0)