Add new api version 2024-06-01-preview for Microsoft.Cdn #29588
Merged
openapi-pipeline-app / Swagger LintDiff
completed
Aug 10, 2024 in 3m 4s
Swagger LintDiff failed
LintDiff: 417 Errors, 129 Warnings
The check status is neutral due to the check being suppressed by the label Approved-LintDiff.
View Azure DevOps build log for more details.
Details
Compared specs (v2.2.3) | new version | base version |
---|---|---|
package-preview-2024-06 | package-preview-2024-06(b105437) | default(main) |
[must fix]The following errors/warnings are introduced by current PR:
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
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/preview/2024-06-01-preview/afdx.json#L3893 |
RPC-Async-V1-11, RPC-Async-V1-14 |
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/preview/2024-06-01-preview/afdx.json#L4755 |
RPC-Async-V1-11, RPC-Put-V1-11 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4819 |
|
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4886 |
|
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/preview/2024-06-01-preview/afdx.json#L4895 |
RPC-Delete-V1-01 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4941 |
|
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/preview/2024-06-01-preview/afdx.json#L5040 |
RPC-Async-V1-11, RPC-Put-V1-11 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5104 |
|
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5171 |
|
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/preview/2024-06-01-preview/afdx.json#L5180 |
RPC-Delete-V1-01 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5226 |
|
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'KeyGroupListResult' has extra properties ['value']. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5460 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'KeyGroupListResult' has extra properties ['nextLink']. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5460 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'DeploymentVersionListResult' has extra properties ['value']. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L7315 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'DeploymentVersionListResult' has extra properties ['nextLink']. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L7315 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'AFDTargetGroupListResult' has extra properties ['value']. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L7972 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'AFDTargetGroupListResult' has extra properties ['nextLink']. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L7972 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'TunnelPolicyListResult' has extra properties ['value']. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L8063 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'TunnelPolicyListResult' has extra properties ['nextLink']. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L8063 |
RPC-Put-V1-06 |
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L3549 |
RPC-Get-V1-11 | |
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L3750 |
RPC-Get-V1-11 | |
Since operation response has model definition in array type, it should be of the form '_list'. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L3947 |
||
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4666 |
RPC-Get-V1-11 | |
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4951 |
RPC-Get-V1-11 | |
Missing identifier id in array item property Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L8033 |
The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.
Rule | Message |
---|---|
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L136 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L185 |
PostResponseCodes |
202 response for a LRO POST operation must not have a response schema specified. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L292 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L347 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L357 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L406 |
ResourceNameRestriction |
The resource name parameter 'customDomainName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L406 |
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/preview/2024-06-01-preview/afdx.json#L458 |
RepeatedPathInfo |
The 'profileName' already appears in the path, please don't repeat it in the request body. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L473 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L521 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L530 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not be required, property:certificateType. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L573 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L605 |
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/preview/2024-06-01-preview/afdx.json#L614 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L668 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L678 |
ResourceNameRestriction |
The resource name parameter 'customDomainName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L678 |
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/preview/2024-06-01-preview/afdx.json#L679 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L730 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L740 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L789 |
ResourceNameRestriction |
The resource name parameter 'endpointName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L789 |
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/preview/2024-06-01-preview/afdx.json#L841 |
RepeatedPathInfo |
The 'profileName' already appears in the path, please don't repeat it in the request body. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L856 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L913 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L988 |
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/preview/2024-06-01-preview/afdx.json#L997 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1051 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1061 |
ResourceNameRestriction |
The resource name parameter 'endpointName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1061 |
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/preview/2024-06-01-preview/afdx.json#L1062 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1122 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1132 |
ResourceNameRestriction |
The resource name parameter 'endpointName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1132 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1188 |
ResourceNameRestriction |
The resource name parameter 'endpointName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1188 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1250 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1299 |
ResourceNameRestriction |
The resource name parameter 'originGroupName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1299 |
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/preview/2024-06-01-preview/afdx.json#L1351 |
RepeatedPathInfo |
The 'profileName' already appears in the path, please don't repeat it in the request body. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1366 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1423 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1498 |
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/preview/2024-06-01-preview/afdx.json#L1507 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1561 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1571 |
ResourceNameRestriction |
The resource name parameter 'originGroupName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1571 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1627 |
ResourceNameRestriction |
The resource name parameter 'originGroupName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1627 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1683 |
Loading