Azure / Azure/azure-rest-api-specs
Bug: App Service Plans - Reboot Worker API will response incorrect status code
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
API Link: https://learn.microsoft.com/en-us/rest/api/appservice/app-service-plans/reboot-worker#code-try-0
As this document mentioned, it will response 204 if request processed success. But if I click the try it button and run it with correct paramter, I will see status code 200.

It will cause .net sdk thrown exception. related issue: https://github.com/Azure/azure-sdk-for-net/issues/38786
Contributor guide
Research direction
Start with the App Service Plans Reboot Worker operation in the linked REST API documentation and compare its documented 204 response with the 200 response shown from Try It. Trace that operation in the repository's REST specification and verify that the corrected response status is reflected in the documentation and avoids the reported .NET SDK exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100