You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We basically have a ConnectorFunction with a body param (IsBodyParameter == true), but the body name hint is not respected.
The operation contains the XMsBodyName extension, which should make it so that the body parameter is called item.
In practice however, the name ends up as dynamicProperties, which is incorrect, and therefore the call to the connector fails with 400.
--
Quick analysis
we see the body name being retrieved at line 1444 and we'll use it properly at line 1514 when creating OpenApiParameter but it's not the case at line 1490...
The text was updated successfully, but these errors were encountered:
This is not something we can fix immediately as Microsoft.OpenApi.Readers has a bug, close to their issue 706 which prevent any fix on our end
They will release a major version soon and I'm expecting this issue to be resolvable at this time
We basically have a ConnectorFunction with a body param (IsBodyParameter == true), but the body name hint is not respected.
The operation contains the XMsBodyName extension, which should make it so that the body parameter is called item.
In practice however, the name ends up as dynamicProperties, which is incorrect, and therefore the call to the connector fails with 400.
--
Quick analysis
we see the body name being retrieved at line 1444 and we'll use it properly at line 1514 when creating OpenApiParameter but it's not the case at line 1490...
The text was updated successfully, but these errors were encountered: