Regenerate clients from current connector swagger#210
Open
daviburg wants to merge 16 commits into
Open
Conversation
Regenerates existing clients with AzureUX-BPM PR 16421737 and aligns affected contract tests. Co-authored-by: Dobby <dobby@microsoft.com>
There was a problem hiding this comment.
Pull request overview
This PR refreshes the Connectors .NET SDK’s generated clients from the current managed-connector Swagger, aligned with the companion generator changes (AzureUX-BPM PR 16421737) that remove deprecated operations and switch generation-time auth guidance to Azure Identity / DefaultAzureCredential.
Changes:
- Regenerated connector client code under
src/Azure.Connectors.Sdk/Generated/to reflect current Swagger surface (including additions/removals of operations and contract shape updates). - Updated/trimmed unit tests to align with regenerated clients (e.g., DocuSign parameter renames; removed Cloudmersive autodetect coverage for an operation no longer present).
- Updated
GENERATION.mdto document Azure CLI login andDefaultAzureCredential-based generation, including notes about retained baseline artifacts.
Reviewed changes
Copilot reviewed 3 out of 37 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/Azure.Connectors.Sdk.Tests/DocuSignClientTests.cs | Updates test calls to match regenerated DocuSign parameter names. |
| tests/Azure.Connectors.Sdk.Tests/CloudmersiveConvertClientTests.cs | Removes tests for an operation no longer present in current Swagger. |
| src/Azure.Connectors.Sdk/Generated/ZohoSignExtensions.cs | Removes deprecated model/method surface from regenerated Zoho Sign client. |
| src/Azure.Connectors.Sdk/Generated/ZendeskExtensions.cs | Regenerated Zendesk client paths and operations. |
| src/Azure.Connectors.Sdk/Generated/WordOnlineBusinessExtensions.cs | Regenerated Word Online (Business) client signatures/behavior. |
| src/Azure.Connectors.Sdk/Generated/TeamsExtensions.cs | Adds/removes Teams operations and related models per current Swagger. |
| src/Azure.Connectors.Sdk/Generated/SqlExtensions.cs | Regenerated SQL connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/ServicebusExtensions.cs | Regenerated Service Bus connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/SalesforceExtensions.cs | Regenerated Salesforce connector models/docs and paths. |
| src/Azure.Connectors.Sdk/Generated/PlannerExtensions.cs | Regenerated Planner models/docs. |
| src/Azure.Connectors.Sdk/Generated/PdfCoExtensions.cs | Regenerated PDF.co models/docs. |
| src/Azure.Connectors.Sdk/Generated/OutlookExtensions.cs | Regenerated Outlook connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/OneDriveForBusinessExtensions.cs | Regenerated OneDrive for Business connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/OneDriveExtensions.cs | Regenerated OneDrive connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/Office365UsersExtensions.cs | Regenerated Office 365 Users models/docs. |
| src/Azure.Connectors.Sdk/Generated/Office365GroupsExtensions.cs | Regenerated Office 365 Groups paths and operations. |
| src/Azure.Connectors.Sdk/Generated/MicrosoftFormsExtensions.cs | Regenerated Microsoft Forms operations and return types. |
| src/Azure.Connectors.Sdk/Generated/MailChimpExtensions.cs | Regenerated MailChimp models/docs. |
| src/Azure.Connectors.Sdk/Generated/JedoxOdataHubExtensions.cs | Regenerated Jedox OData Hub paths/encoding. |
| src/Azure.Connectors.Sdk/Generated/GoogleDriveExtensions.cs | Regenerated Google Drive connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/FtpExtensions.cs | Regenerated FTP connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/ExcelOnlineExtensions.cs | Regenerated Excel Online connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/ExcelOnlineBusinessExtensions.cs | Regenerated Excel Online (Business) connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/EventhubsExtensions.cs | Regenerated Event Hubs operation signatures and request construction. |
| src/Azure.Connectors.Sdk/Generated/EtsyExtensions.cs | Regenerated Etsy models/docs and operations. |
| src/Azure.Connectors.Sdk/Generated/ElfsquadDataExtensions.cs | Regenerated Elfsquad Data docs and operations. |
| src/Azure.Connectors.Sdk/Generated/DynamicsAXExtensions.cs | Regenerated Dynamics AX connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/DropboxExtensions.cs | Regenerated Dropbox connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/DocumentdbExtensions.cs | Regenerated DocumentDB (Cosmos DB) models and factories. |
| src/Azure.Connectors.Sdk/Generated/BoxExtensions.cs | Regenerated Box connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/AzuretablesExtensions.cs | Regenerated Azure Tables connector paths and operations. |
| src/Azure.Connectors.Sdk/Generated/AzurequeuesExtensions.cs | Regenerated Azure Queues models and paths. |
| src/Azure.Connectors.Sdk/Generated/AzureBlobExtensions.cs | Regenerated Azure Blob connector paths and operations. |
| GENERATION.md | Updates generation prerequisites/auth flow and documents the 2026-07 regeneration notes. |
Regenerates Office365, Docuware, and SigningHub after BPM generator fixes, records breaking changes under Unreleased, and applies generator-owned Swagger text corrections. Co-authored-by: Dobby <dobby@microsoft.com>
Makes existing contract patches formatting-independent, expands breaking-change notes, and adds a Zendesk double-encoding URI regression. Co-authored-by: Dobby <dobby@microsoft.com>
Regenerates Etsy with the corrected wire property name, restores Cloudmersive operation success and error coverage, and uses a portable Zendesk URI assertion. Co-authored-by: Dobby <dobby@microsoft.com>
Captures the outgoing ListQueues request and verifies endpoint-shaped storage account values remain double encoded as required by connector Swagger. Co-authored-by: Dobby <dobby@microsoft.com>
Regenerates QueueMessage with TimeNextVisible and DequeueCount and adds wire-deserialization coverage. Co-authored-by: Dobby <dobby@microsoft.com>
Updates scheduled generation, troubleshooting, and connector discovery examples to use Azure CLI and DefaultAzureCredential-compatible authentication. Co-authored-by: Dobby <dobby@microsoft.com>
Renames unused cancellation-token lambda parameters in Azure Queues and Zendesk request capture helpers. Co-authored-by: Dobby <dobby@microsoft.com>
Adds raw binary transport overloads, regenerates 32 string/binary operations across 18 clients with application/octet-stream content, and adds shared plus SigningHub wire-level coverage. Co-authored-by: Dobby <dobby@microsoft.com>
Regenerates Queue, DocumentDB, Event Hubs, Forms, and Word clients from canonical owner contracts, adds wire-shape regressions, and documents the breaking changes. Co-authored-by: Dobby <dobby@microsoft.com>
Replaces 32 generated octet-stream literals with MediaTypeNames.Application.Octet and clarifies binary response documentation. Co-authored-by: Dobby <dobby@microsoft.com>
Regenerates the runtime response field and verifies nested message responses retain its value. Co-authored-by: Dobby <dobby@microsoft.com>
Describes both raw byte and deserialized JSON results on the binary request overload. Co-authored-by: Dobby <dobby@microsoft.com>
| public class VariateSettings | ||
| { | ||
| /// <summary>The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue-or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_critera is ignored. For Multivariate Campaigns with 'manual' as the winner_citeria, the winner must be chosen in the MailChimp web application</summary> | ||
| /// <summary>The combination that performs the best. This may be determined automatically by click rate, open rate, or total revenue—or you may choose manually based on the reporting data you find the most valuable. For Multivariate Campaigns testing send_time, winner_critera is ignored. For Multivariate Campaigns with 'manual' as the winner_citeria, the winner must be chosen in the MailChimp web application</summary> |
Comment on lines
+90
to
+94
| public static (TokenCredential Credential, ConnectorClientOptions Options, Func<byte[]?> GetBody, Func<string?> GetContentType) CreateContentCapturingClientSetup( | ||
| Func<HttpResponseMessage> responseFactory) | ||
| { | ||
| var mockCredential = new Mock<TokenCredential>(); | ||
| mockCredential |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Regenerates all 97 existing .NET Connector SDK clients from current managed-connector Swagger using AzureUX-BPM PR 16421737. The companion generator PR replaces ARMClient with Azure Identity
DefaultAzureCredential, preserves valid ARM JSON before malformed-response fallbacks, filters deprecated operations in C#, TypeScript, and Python, handles mixed JSON/multipart declarations correctly, and sends binary Swagger bodies as raw bytes.Dependency: AzureUX-BPM PR 16421737 must merge before this generated-output PR.
Changes
DefaultAzureCredentialauthentication.QueueMessagesList.QueueMessage[]response with named generated types.DequeueCountas a runtime-contract correction: Azure Storage returns it and connector policy passes it through, although complete AAPT Swagger history omits it.ObjectWithoutTypedocument item instead of inventing an envelope property.application/octet-streambodies instead of JSON/base64.application/octet-streamliterals across 18 clients withSystem.Net.Mime.MediaTypeNames.Application.Octet; connector-declared custom binary media types remain literals.x-ms-url-encoding: "double".Validation
npx markdownlint-cli2@0.17.2 '**/*.md'reports 0 errors.office365,docuware, andsigninghub.ListQueues, HTTP 200) and Azure Blob (ListRootFolder, HTTP 200).Checklist
src/**/Generated/were produced by the BPM CodefulSdkGenerator.CHANGELOG.mdupdated under Unreleased, including breaking changes.release_notes.mdupdated (not shipping a new version in this PR).eng/build/Version.props(not shipping a new version in this PR).