Skip to content

[http-client-java] remove unused settings #11076

Description

  • disable-required-property-annotation (affects generated @JsonProperty(required=true). since we now use stream-style, this setting is no longer needed)

Activity

  1. github-actions commented on Jun 24, 2026

    @github-actions
    Contributor

    🎯 Issue Triage

    This task tracks removing the unused disable-required-property-annotation emitter setting from http-client-java, which was previously used to control @JsonProperty(required=true) generation but is no longer needed now that the emitter uses stream-style serialization.

    Category: Feature Request
    Area: emitter:client:java

    🔍 Analysis
    • Setting: disable-required-property-annotation — controlled generation of @JsonProperty(required=true) annotations
    • Reason for removal: Stream-style serialization no longer requires this annotation, making the setting obsolete
    • Sub-issue of: [http-client-java] autorest generator code cleanup #11068
    • Impact: Minor breaking change for users who may have this setting configured — should be documented or handled with a deprecation warning before full removal
    📝 Suggested next steps
    • Identify all references to disable-required-property-annotation in packages/http-client-java
    • Remove the setting from the emitter options schema and code
    • Add a changelog entry noting the removal (breaking change if publicly documented)
    • Verify generated output for models with required properties is correct without the setting

    Generated by Agentic Triage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    emitter:client:javaIssue for the Java client emitter: @typespec/http-client-javafeatureNew feature or request

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions