What's Changed
Features
• feat: Added initial OAuth2 support.
• feat: Added OpenAPI 3.1 built-in support.
• feat(cli): Use OpenApi31Support in init command.
• feat: Added IgnoreOpenApiErrors and IgnoreOpenApiWarnings settings.
• feat: Added OpenAPI 3.1 JSON support.
• feat: Added generation of AdditionalProperties schemas.
• feat: Added support for type: any.
• feat: Additional cases of object generation instead of empty classes.
• feat: Return string for empty/undefined responses.
• feat: Added ToJson/FromJson methods to models.
• feat: Added generation of discriminator classes.
• feat: Added By separator for MethodAndPath naming convention.
• feat: Added initial discriminator support.
• feat: Implemented ComputeDiscriminators.
• feat: Expose HttpClient.
• feat: Removed default values (now only used in XML docs).
• feat: Added Experimental attribute support.
• feat: Use Discriminator mapping values for naming AnyOf property names.
Fixes
• fix: Fixed some issue with authorizations.
• fix: Fixed missing XML docs.
• fix: Fixed OAuth2 code.
• fix: Fixed small issues with weaviate spec.
• fix: Added workaround to bypass spec error in mistral spec.
• fix: Fixed missing XML clearing for enum XML docs.
• fix: Fixed CLI builds.
• fix: Fixed UnixTimestampJsonConverter milliseconds deserialization.
• fix: Fixed vectara issue with duplicated filename.
• fix: Fixed invalid method return type for application/octet-stream.
• fix: Fixed build issues.
• fix: Fixed OpenAPI 3.1 examples support in JSON.
• fix: Fixed some schemas to use Dictionary or objects.
• fix: Fixed issue with langsmith JSON OpenAPI 3.1 spec.
• fix: Fixed OpenAPI 3.1 JSON support for null types.
• fix: Fixed array generation when type is null and items are specified.
• fix: Fixed issue with allOf with nullable: true as one item.
• fix: Fixed null in enums in OpenAPI 3.1 YAML.
• fix: Fixed issue with incorrect JsonConverter.
• fix: Removed nested OneOfs to unblock discriminator.
• fix: Updated GitHub spec and resolved related issues.
• fix: Fixed issue with named OneOf JsonConverters.
• fix: Fixed rare issue with AnyOf deserialization.
• fix: Fixed CLI issues.
• fix: Fixed issue with non-letter/non-digit symbols in Tag name.
This release introduces significant feature enhancements, such as expanded OpenAPI 3.1 support, OAuth2 integration, discriminator handling, and additional JSON utilities. It also addresses numerous fixes to ensure stability and correct behavior across various edge cases.
Full Changelog: v0.26.0...v0.27.0