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

Commit 63ca947

Browse files
committed
Template and petstore update
1 parent aa1446f commit 63ca947

File tree

730 files changed

+1687
-1698
lines changed

Some content is hidden

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

730 files changed

+1687
-1698
lines changed

modules/openapi-json-schema-generator/src/main/resources/python/api_client.handlebars

Lines changed: 78 additions & 91 deletions
Large diffs are not rendered by default.

modules/openapi-json-schema-generator/src/main/resources/python/schema_doc.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Key | Input Type | Accessed Type | Description | Notes
2727
{{/if}}
2828
{{/unless}}
2929
{{else}}
30-
**any_string_name** | {{> types_all_incl_schema_oneline }} | {{> types_all_accessed }} | any string name can be used but the value must be the correct type | [optional]
30+
**any_string_name** | {{> types_all_incl_schema_oneline }} | {{> types_all_accessed_oneline }} | any string name can be used but the value must be the correct type | [optional]
3131
{{/with}}
3232
{{/or}}
3333
{{#each requiredProperties}}

modules/openapi-json-schema-generator/src/main/resources/python/schemas.handlebars

Lines changed: 71 additions & 77 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0
1+
unset

samples/openapi3/client/petstore/python/docs/apis/tags/default_api/foo_get.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ dict, frozendict.frozendict, | frozendict.frozendict, | |
5555
Key | Input Type | Accessed Type | Description | Notes
5656
------------ | ------------- | ------------- | ------------- | -------------
5757
**string** | [**Foo**](../../../components/schema/foo.Foo.md) | [**Foo**](../../../components/schema/foo.Foo.md) | | [optional]
58-
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional]
58+
**any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional]
5959

6060
### Authorization
6161

samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/endpoint_parameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ Key | Input Type | Accessed Type | Description | Notes
9191
**float** | decimal.Decimal, int, float, | decimal.Decimal, | None | [optional] value must be a 32 bit float
9292
**string** | str, | str, | None | [optional]
9393
**binary** | bytes, io.FileIO, io.BufferedReader, | bytes, FileIO, | None | [optional]
94-
**date** | str, date, | str, | None | [optional] value must conform to RFC-3339 full-date YYYY-MM-DD
95-
**dateTime** | str, datetime, | str, | None | [optional] if omitted the server will use the default value of 2010-02-01T10:20:10.11111+01:00 value must conform to RFC-3339 date-time
94+
**date** | str, datetime.date, | str, | None | [optional] value must conform to RFC-3339 full-date YYYY-MM-DD
95+
**dateTime** | str, datetime.datetime, | str, | None | [optional] if omitted the server will use the default value of 2010-02-01T10:20:10.11111+01:00 value must conform to RFC-3339 date-time
9696
**password** | str, | str, | None | [optional]
9797
**callback** | str, | str, | None | [optional]
98-
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional]
98+
**any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional]
9999

100100
### Return Types, Responses
101101

samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/enum_parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Key | Input Type | Accessed Type | Description | Notes
8181
------------ | ------------- | ------------- | ------------- | -------------
8282
**enum_form_string_array** | [list, tuple, ](#enum_form_string_array) | [tuple, ](#enum_form_string_array) | Form parameter enum test (string array) | [optional]
8383
**enum_form_string** | str, | str, | Form parameter enum test (string) | [optional] must be one of ["_abc", "-efg", "(xyz)", ] if omitted the server will use the default value of "-efg"
84-
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional]
84+
**any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional]
8585

8686
# enum_form_string_array
8787

samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/inline_composition.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil
5757
## Model Type Info
5858
Input Type | Accessed Type | Description | Notes
5959
------------ | ------------- | ------------- | -------------
60-
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
60+
dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
6161

6262
### Composed Schemas (allOf/anyOf/oneOf/not)
6363
#### allOf
@@ -81,15 +81,15 @@ dict, frozendict.frozendict, | frozendict.frozendict, | |
8181
### Dictionary Keys
8282
Key | Input Type | Accessed Type | Description | Notes
8383
------------ | ------------- | ------------- | ------------- | -------------
84-
**someProp** | [dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ](#someProp) | [frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO](#someProp) | | [optional]
85-
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional]
84+
**someProp** | [dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ](#someProp) | [frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO](#someProp) | | [optional]
85+
**any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional]
8686

8787
# someProp
8888

8989
## Model Type Info
9090
Input Type | Accessed Type | Description | Notes
9191
------------ | ------------- | ------------- | -------------
92-
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
92+
dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
9393

9494
### Composed Schemas (allOf/anyOf/oneOf/not)
9595
#### allOf
@@ -118,7 +118,7 @@ compositionInProperty | [parameter_1.schema](#parameter_1.schema) | | optional
118118
## Model Type Info
119119
Input Type | Accessed Type | Description | Notes
120120
------------ | ------------- | ------------- | -------------
121-
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
121+
dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
122122

123123
### Composed Schemas (allOf/anyOf/oneOf/not)
124124
#### allOf
@@ -143,15 +143,15 @@ dict, frozendict.frozendict, | frozendict.frozendict, | |
143143
### Dictionary Keys
144144
Key | Input Type | Accessed Type | Description | Notes
145145
------------ | ------------- | ------------- | ------------- | -------------
146-
**someProp** | [dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ](#someProp) | [frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO](#someProp) | | [optional]
147-
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional]
146+
**someProp** | [dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ](#someProp) | [frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO](#someProp) | | [optional]
147+
**any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional]
148148

149149
# someProp
150150

151151
## Model Type Info
152152
Input Type | Accessed Type | Description | Notes
153153
------------ | ------------- | ------------- | -------------
154-
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
154+
dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
155155

156156
### Composed Schemas (allOf/anyOf/oneOf/not)
157157
#### allOf
@@ -185,7 +185,7 @@ headers | Unset | headers were not defined |
185185
## Model Type Info
186186
Input Type | Accessed Type | Description | Notes
187187
------------ | ------------- | ------------- | -------------
188-
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
188+
dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
189189

190190
### Composed Schemas (allOf/anyOf/oneOf/not)
191191
#### allOf
@@ -210,15 +210,15 @@ dict, frozendict.frozendict, | frozendict.frozendict, | |
210210
### Dictionary Keys
211211
Key | Input Type | Accessed Type | Description | Notes
212212
------------ | ------------- | ------------- | ------------- | -------------
213-
**someProp** | [dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ](#someProp) | [frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO](#someProp) | | [optional]
214-
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional]
213+
**someProp** | [dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ](#someProp) | [frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO](#someProp) | | [optional]
214+
**any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional]
215215

216216
# someProp
217217

218218
## Model Type Info
219219
Input Type | Accessed Type | Description | Notes
220220
------------ | ------------- | ------------- | -------------
221-
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
221+
dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
222222

223223
### Composed Schemas (allOf/anyOf/oneOf/not)
224224
#### allOf

samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_form_data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Key | Input Type | Accessed Type | Description | Notes
5858
------------ | ------------- | ------------- | ------------- | -------------
5959
**param** | str, | str, | field1 |
6060
**param2** | str, | str, | field2 |
61-
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional]
61+
**any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional]
6262

6363
### Return Types, Responses
6464

samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_with_charset.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil
4949
## Model Type Info
5050
Input Type | Accessed Type | Description | Notes
5151
------------ | ------------- | ------------- | -------------
52-
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
52+
dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
5353

5454
### Return Types, Responses
5555

@@ -70,7 +70,7 @@ headers | Unset | headers were not defined |
7070
## Model Type Info
7171
Input Type | Accessed Type | Description | Notes
7272
------------ | ------------- | ------------- | -------------
73-
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
73+
dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
7474

7575
### Authorization
7676

samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/object_in_query.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ dict, frozendict.frozendict, | frozendict.frozendict, | |
6464
Key | Input Type | Accessed Type | Description | Notes
6565
------------ | ------------- | ------------- | ------------- | -------------
6666
**keyword** | str, | str, | | [optional]
67-
**any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional]
67+
**any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional]
6868

6969
### Return Types, Responses
7070

samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/parameter_collisions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil
110110
## Model Type Info
111111
Input Type | Accessed Type | Description | Notes
112112
------------ | ------------- | ------------- | -------------
113-
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
113+
dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
114114

115115
### <a id="RequestQueryParameters" >query_params</a>
116116
#### <a id="RequestQueryParameters.Params" >RequestQueryParameters.Params</a>
@@ -308,7 +308,7 @@ headers | Unset | headers were not defined |
308308
## Model Type Info
309309
Input Type | Accessed Type | Description | Notes
310310
------------ | ------------- | ------------- | -------------
311-
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
311+
dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
312312

313313
### Authorization
314314

0 commit comments

Comments
 (0)