@@ -10,15 +10,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010- Classes generated to be included within lists will now be named like <ListName >Item. For example, if a property
1111 named "statuses" is an array of enum values, previously the ` Enum ` class declared would be called "Statuses". Now it
1212 will be called "StatusesItem". If a "title" attribute was used in the OpenAPI document, that should still be respected
13- and used instead of the generated name.
14- - Clients now require httpx ^0.13.0 (up from ^0.12.1)
13+ and used instead of the generated name. You can restore previous names by adding "StatusesItem" to the ` class_overrides `
14+ section of a config file.
15+ - Clients now require httpx ^0.13.0 (up from ^0.12.1). See [ httpx release notes] ( https://github.com/encode/httpx/releases/tag/0.13.0 )
16+ for details.
1517
1618### Additions
1719- Support for binary format strings (file payloads)
1820- Support for multipart/form bodies
1921- Support for any supported property within a list (array), including other lists.
2022- Support for Union types ("anyOf" in OpenAPI document)
2123- Support for more basic response types (integer, number, boolean)
24+ - Support for duplicate enums. Instead of erroring, enums with the same name (title) but differing values
25+ will have a number appended to the end. So if you have two conflicting enums named ` MyEnum ` , one of them
26+ will now be named ` MyEnum1 ` . Note that the order in which these are processed and therefore named is entirely
27+ dependent on the order they are read from the OpenAPI document, so changes to the document could result
28+ in swapping the names of conflicting Enums.
2229
2330### Changes
2431- The way most imports are handled was changed which * should* lead to fewer unused imports in generated files.
0 commit comments