Skip to content

Swagger LintDiff failure #5102

Description

Before filling a bug

  • have you checked the faq for known issues.
  • have you checked existing issues

Describe the bug

Getting autorest exceptions in swagger LintDiff that is unrelated to the changes made in the PR and is blocking merge.

  • The readme.md file was not edited as a part of this PR. There have been no recent changes to package-deprecated section, it is not clear why this error is appearing.

  • No changes to any REST API were made as a part of this PR, only issues related to the docs.

  • It does not appear that this error is related to any changes that were made to the geolocation.json swagger file, and we need help on suppressing this error.

"tag":"package-deprecated",
"details":"stack: Error: There are multiple operations defined for 'get: /mapData'. You are probably trying to use an input with multiple API versions with an autorest V2 generator,
and that will not work. at NewComposer.visitPath (/home/cloudtest/.autorest/@autorest_core@3.10.4/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:4371:23) at NewComposer.visitPaths (/home/cloudtest/.autorest/@autorest_core@3.10.4/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:4357:22) at NewComposer.process (/home/cloudtest/.autorest/@autorest_core@3.10.4/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:4305:26) at NewComposer.runProcess (/home/cloudtest/.autorest/@autorest_core@3.10.4/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:16339:28) at runNextTicks (node:internal/process/task_queues:65:5) at processImmediate (node:internal/timers:459:9)"

Expected behavior
Resolve the autorest exception to unblock the PR and get it merged.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions