Azure / Azure/azure-rest-api-specs
Logic Swagger for Workflow Update does not Match the Service
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 37m
- Merged PRs (30d)
- 446
Description
According to the swagger for logic workflow update (https://github.com/Azure/azure-rest-api-specs/blob/b039fefbf63aa28029bc038994a8c0b30cde8b1f/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/logic.json#L266) the update via a patch call should support a workflow type for an update via a patch call. Although, when I try to do this, (with a slightly modified JSON file that I used to create the workflow) the service complains as follows:
(InvalidPatchWorkflowRequest) The request to patch workflow 'testworkflow’ is not supported. Only the tags field, SKU tier field and identity field can be patched.
I believe the swagger is incorrect for the logic workflow update then since the service rejects such an update.
Contributor guide
Research direction
Start with specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/logic.json around line 266 and compare the documented workflow PATCH request with the service error in the issue. Confirm which fields the service accepts, then update the specification so the documented request matches that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100