Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit 208b7cb

Browse files
authored
Issue 246 fix (#252)
* Fixes headers typo * Adds class properties to fix mypy errors for api response * Converts api response classes back into dataclasses * Petstore regen * Adds typeschema debugging * Updates java schema addition to be permissive * Does not add schema if additionalProperties is false * Samples regenerated * Regens samples, fixes maps with values that are refed * Fixes python test * Adds java tests
1 parent 06f86e9 commit 208b7cb

File tree

823 files changed

+2550
-6000
lines changed

Some content is hidden

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

823 files changed

+2550
-6000
lines changed

samples/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_allows_a_schema_which_should_validate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Key | Type | Description | Notes
3434

3535
## AdditionalpropertiesAllowsASchemaWhichShouldValidateDict
3636
```
37-
base class: schemas.immutabledict[str, bool]
37+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
3838
3939
```
4040
### __new__ method

samples/client/3_0_3_unit_test/python/docs/components/schema/allof.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Key | Type | Description | Notes
3737

3838
## _0Dict
3939
```
40-
base class: schemas.immutabledict[str, int]
40+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
4141
4242
```
4343
### __new__ method
@@ -78,7 +78,7 @@ Key | Type | Description | Notes
7878

7979
## _1Dict
8080
```
81-
base class: schemas.immutabledict[str, str]
81+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
8282
8383
```
8484
### __new__ method

samples/client/3_0_3_unit_test/python/docs/components/schema/allof_with_base_schema.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Key | Type | Description | Notes
2020

2121
## AllofWithBaseSchemaDict
2222
```
23-
base class: schemas.immutabledict[str, int]
23+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
2424
2525
```
2626
### __new__ method
@@ -68,7 +68,7 @@ Key | Type | Description | Notes
6868

6969
## _0Dict
7070
```
71-
base class: schemas.immutabledict[str, str]
71+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
7272
7373
```
7474
### __new__ method
@@ -109,7 +109,7 @@ Key | Type | Description | Notes
109109

110110
## _1Dict
111111
```
112-
base class: schemas.immutabledict[str, None]
112+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
113113
114114
```
115115
### __new__ method

samples/client/3_0_3_unit_test/python/docs/components/schema/anyof_complex_types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Key | Type | Description | Notes
3737

3838
## _0Dict
3939
```
40-
base class: schemas.immutabledict[str, int]
40+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
4141
4242
```
4343
### __new__ method
@@ -78,7 +78,7 @@ Key | Type | Description | Notes
7878

7979
## _1Dict
8080
```
81-
base class: schemas.immutabledict[str, str]
81+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
8282
8383
```
8484
### __new__ method

samples/client/3_0_3_unit_test/python/docs/components/schema/enums_in_properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Key | Type | Description | Notes
2121

2222
## EnumsInPropertiesDict
2323
```
24-
base class: schemas.immutabledict[str, str]
24+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
2525
2626
```
2727
### __new__ method

samples/client/3_0_3_unit_test/python/docs/components/schema/forbidden_property.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Key | Type | Description | Notes
2121
## ForbiddenPropertyDict
2222
```
2323
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
24+
2425
```
2526
### __new__ method
2627
Keyword Argument | Type | Description | Notes

samples/client/3_0_3_unit_test/python/docs/components/schema/invalid_string_value_for_default.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Key | Type | Description | Notes
2020

2121
## InvalidStringValueForDefaultDict
2222
```
23-
base class: schemas.immutabledict[str, str]
23+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
2424
2525
```
2626
### __new__ method

samples/client/3_0_3_unit_test/python/docs/components/schema/not_more_complex_schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Key | Type | Description | Notes
3636

3737
## NotDict
3838
```
39-
base class: schemas.immutabledict[str, str]
39+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
4040
4141
```
4242
### __new__ method

samples/client/3_0_3_unit_test/python/docs/components/schema/oneof_complex_types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Key | Type | Description | Notes
3737

3838
## _0Dict
3939
```
40-
base class: schemas.immutabledict[str, int]
40+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
4141
4242
```
4343
### __new__ method
@@ -78,7 +78,7 @@ Key | Type | Description | Notes
7878

7979
## _1Dict
8080
```
81-
base class: schemas.immutabledict[str, str]
81+
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
8282
8383
```
8484
### __new__ method

samples/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_required.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Key | Type | Description | Notes
3939
## _0Dict
4040
```
4141
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
42+
4243
```
4344
### __new__ method
4445
Keyword Argument | Type | Description | Notes
@@ -82,6 +83,7 @@ Key | Type | Description | Notes
8283
## _1Dict
8384
```
8485
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
86+
8587
```
8688
### __new__ method
8789
Keyword Argument | Type | Description | Notes

0 commit comments

Comments
 (0)