Skip to content

Commit ccd6341

Browse files
authored
Merge 07df708 into d535bd0
2 parents d535bd0 + 07df708 commit ccd6341

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3434
- Endpoint tags are now sanitized during parsing to fix an issue where `My Tag` and `MyTag` are seen as two different tags but are then later unified, causing errors when creating directories. Thanks @p1-ra! (#328)
3535
- Parser will softly ignore value error during schema responses' status code convertion from string to integer (not a number). Errors will be reported to the end user and parsing will continue to proceed (#327).
3636
- The generated `from_dict` and `to_dict` methods of models will now properly handle `nullable` and `not required` properties that are themselves generated models (#315). Thanks @forest-benchling!
37+
- Fixed a typo in the async example in generated README.md files (#337). Thanks @synchronizing!
3738
- Fix deserialization of `None` and `Unset` properties for all types by unifying the checks (#334). Thanks @forest-benchling!
3839
- If duplicate model names are detected during generation, you'll now get an error message instead of broken code (#336). Thanks @forest-benchling!
3940

end_to_end_tests/golden-record-custom/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Or do the same thing with an async version:
3434

3535
```python
3636
from custom_e2e.models import MyDataModel
37-
from custom_e2e.async_api.my_tag import get_my_data_model
37+
from custom_e2e.api.my_tag import get_my_data_model
3838
from custom_e2e.types import Response
3939

4040
my_data: MyDataModel = await get_my_data_model.asyncio(client=client)

end_to_end_tests/golden-record/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Or do the same thing with an async version:
3434

3535
```python
3636
from my_test_api_client.models import MyDataModel
37-
from my_test_api_client.async_api.my_tag import get_my_data_model
37+
from my_test_api_client.api.my_tag import get_my_data_model
3838
from my_test_api_client.types import Response
3939

4040
my_data: MyDataModel = await get_my_data_model.asyncio(client=client)

openapi_python_client/templates/README.md.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Or do the same thing with an async version:
3434

3535
```python
3636
from {{ package_name }}.models import MyDataModel
37-
from {{ package_name }}.async_api.my_tag import get_my_data_model
37+
from {{ package_name }}.api.my_tag import get_my_data_model
3838
from {{ package_name }}.types import Response
3939

4040
my_data: MyDataModel = await get_my_data_model.asyncio(client=client)

0 commit comments

Comments
 (0)