Azure / Azure/azure-rest-api-specs
LogicAppIntegrationServiceEnvironmentManagedApi.Put API failed to create Integration Service Environment Managed Connector
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
After tested, I found [LogicAppIntegrationServiceEnvironmentManagedApi.Put](https://github.com/Azure/azure-rest-api-specs/blob/3257aacc47c2a03b7964cbb5c6a07ec9f2f232ee/specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/logic.json#L6183) API failed to create Integration Service Environment Managed Connector and threw below error message. Service team confirmed we have to send request body while creating this resource but there is no the property definition of request body in swagger so that we cannot send a body with payload to create this resource. So it's a bug in swagger.
Error message:
logic.IntegrationServiceEnvironmentManagedApisClient#Put: Failure sending request: StatusCode=0 -- Original Error: Code="InvalidResource" Message="The resource definition is invalid."
Contributor guide
Research direction
Start in specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/logic.json at the LogicAppIntegrationServiceEnvironmentManagedApi.Put operation around line 6183. Review the operation's request definition and add the missing body schema required by the service. Done means the specification represents a request body for creating an Integration Service Environment Managed Connector and permits a payload to be sent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100