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

Add new api version 2024-06-01-preview for Microsoft.Cdn #29588

Merged
merged 41 commits into from
Aug 10, 2024

Merge pull request #1 from barathvg/barathcdn

c8d392b
Select commit
Loading
Failed to load commit list.
Merged

Add new api version 2024-06-01-preview for Microsoft.Cdn #29588

Merge pull request #1 from barathvg/barathcdn
c8d392b
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger LintDiff failed Jul 12, 2024 in 4m 22s

Swagger LintDiff failed

LintDiff: 394 Errors, 130 Warnings
View Azure DevOps build log for more details.

Details

Compared specs (v2.2.2) new version base version
package-preview-2024-06 package-preview-2024-06(c8d392b) 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
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#L4001
RPC-Async-V1-11, RPC-Async-V1-14
ResourceNameRestriction The resource name parameter 'profileName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4720
RPC-Uri-V1-05
ResourceNameRestriction The resource name parameter 'profileName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4769
RPC-Uri-V1-05
ResourceNameRestriction The resource name parameter 'targetGroupName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4769
RPC-Uri-V1-05
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#L4821
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#L4893
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#L4968
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#L4977
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#L5031
ResourceNameRestriction The resource name parameter 'profileName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5041
RPC-Uri-V1-05
ResourceNameRestriction The resource name parameter 'profileName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5090
RPC-Uri-V1-05
ResourceNameRestriction The resource name parameter 'tunnelPolicyName' should be defined with a 'pattern' restriction.
Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5090
RPC-Uri-V1-05
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#L5142
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#L5214
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#L5289
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#L5298
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#L5352
⚠️ MissingSegmentsInNestedResourceListOperation 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
⚠️ MissingSegmentsInNestedResourceListOperation 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
⚠️ MissingSegmentsInNestedResourceListOperation 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#L4720
RPC-Get-V1-11
⚠️ MissingSegmentsInNestedResourceListOperation 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#L5041
RPC-Get-V1-11
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L7427
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L7442
⚠️ XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L8195


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