-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Labels
needs-areaneeds-infoMark an issue that needs reply from the author or it will be closed automaticallyMark an issue that needs reply from the author or it will be closed automatically
Description
Clear and concise description of the problem
PATCH must never be used for long-running operations: it should be reserved for simple resource updates. If a long-running update is required it should be implemented with POST.
Easy way to repro:
@patch
createOrUpdate is ArmResourceCreateOrReplaceAsync<Employee>;does generate a Swagger with a PATCH LRO, and there was never a linter issue:
"patch": {
"operationId": "Employees_CreateOrUpdate",
...
"x-ms-long-running-operation": trueChecklist
- Follow our Code of Conduct
- Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
needs-areaneeds-infoMark an issue that needs reply from the author or it will be closed automaticallyMark an issue that needs reply from the author or it will be closed automatically