autorest
autorest copied to clipboard
Add request id parameter to all paths
I am trying to write a directive to add a request id parameter to all paths. But I am getting error that the
directive:
- from: swagger-document where: $..paths...parameters transform: >- $ = $.push({ name: "x-ms-client-request-id", in: "header", required: false, type: "string", description: "The identifier for the request.", x-ms-client-request-id : true});
getting below error Schema violation: Expected type object but found type integer - file:
Hey @raveeshupahuja are you still having this issue? If so could you share more information(The swagger file, the full error and command line used)?
Closing for inactivity, please open a new issue if necessary