Azure / Azure/azure-sdk-tools

LintDiff: False positives for docLinkLocale

Open
#7,888 0 comments 0 reactions 1 assignee Claimed by @konrad-jamrozik View on GitHub
Central-EngSys Spec PR Tools
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

Very similar to #7887 for `XmsClientNameParameter`, but for `docLinkLocale`. An example error:

``` json
{"pluginName":"spectral","extensionName":"@microsoft.azure/openapi-validator","level":"error","message":"The documentation link in the description contains locale info, please change it to the link without locale.","code":"docLinkLocale","details":{"jsonpath":["paths","/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}","put","parameters","4","x-ms-client-name"],"validationCategory":"","providerNamespace":false,"resourceType":false,"rpcGuidelineCode":"","range":{"start":{"line":398,"column":32},"end":{"line":398,"column":46}}},"source":[{"document":"file:///Users/cameron/ms/azure-rest-api-specs/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json","position":{"line":398,"column":13}}]}
```

I don't understand this one. The same suppression paths as #7887 work.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.