Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] Fix ResourceNameRestriction for 2024-09-01 #33036

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Fix ResourceNameRestriction for profileName

4dcece5
Select commit
Loading
Failed to load commit list.
Draft

[Draft] Fix ResourceNameRestriction for 2024-09-01 #33036

Fix ResourceNameRestriction for profileName
4dcece5
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger LintDiff succeeded Mar 6, 2025 in 14m 29s

Swagger LintDiff succeeded

Details

Compared specs (v2.2.3) new version base version
package-2024-09 package-2024-09(4dcece5) package-2024-09(main)

The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.

Rule Message
PostResponseCodes 202 response for a LRO POST operation must not have a response schema specified.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L284
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L339
ResourceNameRestriction The resource name parameter 'customDomainName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L394
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L442
RepeatedPathInfo The 'profileName' already appears in the path, please don't repeat it in the request body.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L457
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L510
PatchResponseCodes 202 response for a LRO PATCH operation must not have a response schema specified.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L519
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:certificateType.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L549
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L581
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L590
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L640
ResourceNameRestriction The resource name parameter 'customDomainName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L650
PostResponseCodes 200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L651
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L698
ResourceNameRestriction The resource name parameter 'endpointName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L753
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L801
RepeatedPathInfo The 'profileName' already appears in the path, please don't repeat it in the request body.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L816
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L869
PatchResponseCodes 202 response for a LRO PATCH operation must not have a response schema specified.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L878
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L940
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L949
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L999
ResourceNameRestriction The resource name parameter 'endpointName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1009
PostResponseCodes 200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1010
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1066
ResourceNameRestriction The resource name parameter 'endpointName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1076
ResourceNameRestriction The resource name parameter 'endpointName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1128
ResourceNameRestriction The resource name parameter 'originGroupName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1231
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1279
RepeatedPathInfo The 'profileName' already appears in the path, please don't repeat it in the request body.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1294
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1347
PatchResponseCodes 202 response for a LRO PATCH operation must not have a response schema specified.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1356
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1418
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1427
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1477
ResourceNameRestriction The resource name parameter 'originGroupName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1487
ResourceNameRestriction The resource name parameter 'originGroupName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1539
ResourceNameRestriction The resource name parameter 'originGroupName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1591
ResourceNameRestriction The resource name parameter 'originName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1591
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1646
RepeatedPathInfo The 'originGroupName' already appears in the path, please don't repeat it in the request body.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1664
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1721
PatchResponseCodes 202 response for a LRO PATCH operation must not have a response schema specified.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1730
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:httpPort.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1767
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:httpsPort.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1767
PatchBodyParametersSchema Properties of a PATCH request body must not have default value, property:enforceCertificateNameCheck.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1767
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1799
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1808
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1865
ResourceNameRestriction The resource name parameter 'endpointName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/stable/2024-09-01/afdx.json#L1875