This rolls up several existing minor releases:
1.2.0 - 2023-11-09
This version adds a new mergeReadWriteOnly
configuration option (default to false
) that, when set to true
will not generate separate types for read-only and write-only properties.
1.1.3 - 2023-10-11
Added
- Adds a temporary workaround for 4.9.0 and 4.10.0 generate circular types oazapfts/oazapfts#491
1.1.2 - 2023-10-11
Added
- Support for Read Only Properties in the Open API spec. Previously, this property was ignored.
- Now if the readOnly property is present and set to
true
in a schema, it will split the type into two types: one with the read only property suffixed as 'Read' and the other without the read only properties, using the same type name as before. - This may cause issues if you had your OpenAPI spec properly typed/configured, as it will remove the read onyl types from your existing type. You will need to switch to the new type suffixed as 'Read' to avoid missing property names.
- Now if the readOnly property is present and set to
1.1.1 - 2023-10-11
Changed
- Codegen: better handling of duplicate param names (Codegen: better handling of duplicate param names #3780)
- If a parameter name is both used in a query and a parameter, it will be prefixed with
query
/param
now to avoid conflicts
- If a parameter name is both used in a query and a parameter, it will be prefixed with