Skip to content

Commit c01a89f

Browse files
authored
Add note in CHANGELOG about File response
1 parent 45da271 commit c01a89f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
The previous behavior was a combination of skipping and using generic Dicts for these schemas.
1616
- Response schema handling was unified with input schema handling, meaning that responses will behave differently than before.
1717
Specifically, instead of the content-type deciding what the generated Python type is, the schema itself will.
18+
- As a result of this, endpoints that used to return `bytes` when content-type was application/octet-stream will now return a `File` object if the type of the data is "binary", just like if you were submitting that type instead of receiving it.
1819
- Instead of skipping input properties with no type, enum, anyOf, or oneOf declared, the property will be declared as `None`.
1920
- Class (models and Enums) names will now contain the name of their parent element (if any). For example, a property
2021
declared in an endpoint will be named like {endpoint_name}_{previous_class_name}. Classes will no longer be

0 commit comments

Comments
 (0)