This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Commit 656f896
committed
v2 ensure that cls.MetaOapg will always exist, type check improvement (#84)
* Updates templates so MetaOapg will always be present
* Samples regenerated
* Fixes two tests
* Adds type info to MetaOapg, fixes test
* Adds types info to all classes
* Uses cls.MetaOapg.types for type checking
* Fixes 10 tests in TestAnyTypeSchema
* Fixes 5 remaining tests
* Removes _types
* Samples regenerated
* Fixes java test
* Fixes test_pet1 parent d3ea72c commit 656f896
380 files changed
Lines changed: 1577 additions & 367 deletions
File tree
- modules/openapi-json-schema-generator/src
- main/resources/python
- model_templates
- test/java/org/openapitools/codegen/python
- samples/openapi3/client
- 3_0_3_unit_test/python/unit_test_api
- components/schema
- features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package
- components/schema
- petstore/python
- petstore_api
- components/schema
- paths
- fake_inline_additional_properties/post
- fake_inline_composition_/post
- response_for_200
- fake_json_form_data/get
- fake_obj_in_query/get
- fake_pet_id_upload_image_with_required_file/post
- fake_test_query_paramters/put
- fake_upload_files/post
- fake_upload_file/post
- fake
- delete
- get
- post
- foo/get/response_for_default
- pet_find_by_status/get
- response_for_200
- pet_find_by_tags/get
- response_for_200
- pet_pet_id_upload_image/post
- pet_pet_id/post
- store_inventory/get/response_for_200
- store_order_order_id/get
- user_create_with_array/post
- user_create_with_list/post
- tests_manual
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
Lines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 17 | | |
26 | 18 | | |
27 | 19 | | |
28 | 20 | | |
| 21 | + | |
29 | 22 | | |
30 | 23 | | |
31 | 24 | | |
32 | 25 | | |
33 | 26 | | |
34 | | - | |
35 | 27 | | |
36 | 28 | | |
37 | 29 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments