Skip to content

Fix ARM library doc-comment typos and regenerate reference docs - #5070

Open
markcowl with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-arm-library-doc-comments
Open

Fix ARM library doc-comment typos and regenerate reference docs#5070
markcowl with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-arm-library-doc-comments

Conversation

Copilot AI commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Corrects inaccurate doc comments across typespec-azure-resource-manager .tsp source files and regenerates the reference docs they feed.

Doc-comment fixes

  • lib/operations.tsp — "exposes and endpoint" → "an endpoint" (×2)
  • lib/responses.tspArmCombinedLroHeaders: "type fo the link" → "of"; ArmResourceCreatedResponse / ArmResourceCreatedSyncResponse: @template Resource "being updated" → "being created"
  • lib/decorators.tsp — "turns off autoRout" → "autoRoute"
  • lib/common-types/nsp-operations.tsp — removed ghost @template ParentName / ParentFriendlyName tags not present in the ListByParent / ListSinglePageByParent signatures; "network security parameter" → "perimeter"
  • lib/common-types/private-links-ref.tspPrivateLinkResource: "private endpoint resource" → "private link resource"
  • lib/common-types/managed-identity-ref.tspSystemAssignedServiceIdentity: "service-assigned" → "system-assigned"
  • lib/legacy-types/operations.tsp — "created form this template" → "from" (×2); ArmListSinglePageBySubscription / ArmListSinglePageByParent: "being patched" → "being listed"
  • lib/legacy-types/private-endpoints.tsp — removed ghost @template ParentName / ParentFriendlyName tags
  • lib/legacy-types/extension.tspCustomPatchAsync / CustomPatchSync: "being created or updated" → "being updated" (PATCH cannot create)

Regenerated outputs

reference/data-types.md, reference/decorators.md, reference/interfaces.md, README.md, and generated-defs/Azure.ResourceManager.ts updated via pnpm regen-docs to reflect the fixed comments.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

- operations.tsp: "and endpoint" → "an endpoint"
- responses.tsp: "fo" → "of", "being updated" → "being created"
- decorators.tsp: "autoRout" → "autoRoute"
- common-types/nsp-operations.tsp: removed ghost @template tags, "parameter" → "perimeter"
- common-types/private-links-ref.tsp: "private endpoint" → "private link"
- common-types/managed-identity-ref.tsp: "service-assigned" → "system-assigned"
- legacy-types/operations.tsp: "form" → "from", "being patched" → "being listed"
- legacy-types/private-endpoints.tsp: removed ghost @template tags
- legacy-types/extension.tsp: "created or updated" → "updated" for PATCH ops

Closes #5061

Co-authored-by: markcowl <1054056+markcowl@users.noreply.github.com>
@microsoft-github-policy-service microsoft-github-policy-service Bot added lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library meta:website TypeSpec.io updates labels Jul 27, 2026
Copilot AI changed the title [WIP] Fix ARM library doc-comment typos and regenerate reference docs Fix ARM library doc-comment typos and regenerate reference docs Jul 27, 2026
Copilot AI requested a review from markcowl July 27, 2026 18:32
@markcowl
markcowl marked this pull request as ready for review July 28, 2026 00:43
@pkg-pr-new

pkg-pr-new Bot commented Jul 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@azure-tools/typespec-azure-resource-manager@5070

commit: 754d74a

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

You can try these changes here

🛝 Playground 🌐 Website

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

Labels

lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library meta:website TypeSpec.io updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Automated][azure-resource-manager] Fix ARM library doc-comment typos and regenerate reference docs

2 participants