Azure / Azure/azure-sdk-tools

[TypeSpec Authoring] Support add update(PATCH) operations to an existing resource case

Open
#13,576 0 comments 0 reactions 1 assignee Claimed by @chunyu3 View on GitHub
AzSDK Tools Agent dev inner loop Scenario 2
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

### Case details

This case includes below steps:

- understand what is the patch resource, and which properties are updatable
- build the query and send the query to knowledge base to retrieve solution for PATCH operations
- apply the solution
- validate tsp compile result
- summarize and output the references

### Intake step requirement

- ask what is the patch resource
- ask in the patch resource, which properties are updatable

### References
Reference [TypeSpec PATCH documentation](https://typespec.io/docs/libraries/http/reference/patch/) and [Azure TypeSpec ArmCustomPatch](https://azure.github.io/typespec-azure/docs/howtos/arm/resource-operations/#patch-operation).
Related issues and discussion: [discussion](https://github.com/Azure/typespec-azure/issues/1234), [typespec#7279](https://github.com/microsoft/typespec/issues/7279), [azure#2642](https://github.com/Azure/typespec-azure/issues/2642), [azure#2643](https://github.com/Azure/typespec-azure/issues/2643).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.