Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Generated code should use RequestContent.Create #5379

Description

@sbomer

The generator should emit code that uses RequestContent.Create, added in Azure/azure-sdk-for-net#51021.

Using ModelReaderWriter in Azure.Search.Documents, @m-nash noticed that the generated code isn't using RequestContent.Create, for example in AliasesRestClient.CreateCreateRequest.

Context: Azure/azure-sdk-for-net#51558 (comment)

Looks related to Azure/azure-sdk-for-net#51027.

@JoshLove-msft @m-nash

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions