autorest.typescript icon indicating copy to clipboard operation
autorest.typescript copied to clipboard

Failed to generate with quote ", expected "\ "", but got """

Open wanlwanl opened this issue 5 months ago • 1 comments

Describe the bug Failed to generate with quote ", expected "\"", but got """ Error: image Swagger: image

Please provide as much information as you can. This would be:

  • OpenAPI files having the issues: https://github.com/Azure/azure-rest-api-specs/blob/37ae76e326ea12b17fba8de29b4e760849c72249/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2024-01-01-preview/dataConnectors.json#L2449
  • Autorest command used: autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=. ../azure-rest-api-specs/specification/securityinsights/resource-manager/readme.md --use=@autorest/typescript@^6.0.12

Expected behavior A clear and concise description of what you expected to happen expected "\""

Additional context Add any other context about the problem here.

wanlwanl avatar Sep 14 '24 03:09 wanlwanl