Open mbashtovaya opened 2 years ago
@mb139h could you give the command line or PR link ?
@mb139h could you give the command line or PR link ?
@jianyexi I do not believe any of the PRs report it because as far as I can tell there is a logic to ignore the issues coming from the common-types. Here is one anyway in case you can get anything out of it: https://github.com/Azure/azure-rest-api-specs-pr/pull/7097
The above is executed on the WSL2.
autorest ./specification/networkcloud/resource-manager/readme.md --azure-validator --semantic-validator=true --model-validator=true --openapi-type=arm --version=3.8.1
Describe the bug
The following warnings are being reported by the autorest:
These 2 parameters are defined in the swagger as:
These are the references to the defined in common-types global parameters, which produce the correct swagger. It seems that this is a false positive.
To Reproduce Steps to reproduce the behavior:
Expected behavior There should be no warning generated.
Desktop (please complete the following information):
Showing All Installed Extensions
Type Extension Name Version Location extension @autorest/az 1.8.0 /home/mbashtovaya/.autorest/@autorest_az@1.8.0 extension @autorest/clicommon 0.6.2 /home/mbashtovaya/.autorest/@autorest_clicommon@0.6.2 core @autorest/core 3.7.6 /home/mbashtovaya/.autorest/@autorest_core@3.7.6 core @autorest/core 3.8.1 /home/mbashtovaya/.autorest/@autorest_core@3.8.1 core @autorest/core 3.8.3 /home/mbashtovaya/.autorest/@autorest_core@3.8.3 extension @autorest/modelerfour 4.15.421 /home/mbashtovaya/.autorest/@autorest_modelerfour@4.15.421 extension @autorest/python 5.4.0 /home/mbashtovaya/.autorest/@autorest_python@5.4.0 extension @microsoft.azure/classic-openapi-validator 1.1.13 /home/mbashtovaya/.autorest/@microsoft.azure_classic-openapi-validator@1.1.13 extension @microsoft.azure/openapi-validator 1.7.0 /home/mbashtovaya/.autorest/@microsoft.azure_openapi-validator@1.7.0 extension oav 0.4.70 /home/mbashtovaya/.autorest/oav@0.4.70