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
I am facing an error while generating typescript code with x-internal: true property. I checked open and closed issues but didn't find anything related to this hence creating an another issue. I am not sure if we already have any command line args to handle this. Please find the details below:
Here the code is broken:
Error message:
TypeError: Cannot create property 'consumes' on boolean 'true'
The text was updated successfully, but these errors were encountered:
The operationId causing this seems to be submitFulfillmentOrderStatusUpdate and these are the values that _.each receives/works with right before throwing
{usagePathObject: {'x-amzn-api-sandbox-only': true,// <-- This seems to be causing it'x-amzn-api-sandbox': {dynamic: {}},put: {tags: [Array],description: 'Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.',operationId: 'submitFulfillmentOrderStatusUpdate',parameters: [Array],requestBody: [Object],requestBodyName: 'body',responses: [Object]}},usageRouteInfo: true,// <--methodName: 'x-amzn-api-sandbox-only'}
Uh oh!
There was an error while loading. Please reload this page.
Hello Team
I am facing an error while generating typescript code with
x-internal: true
property. I checked open and closed issues but didn't find anything related to this hence creating an another issue. I am not sure if we already have any command line args to handle this. Please find the details below:Here the code is broken:

Error message:
TypeError: Cannot create property 'consumes' on boolean 'true'
The text was updated successfully, but these errors were encountered: