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 swagger defination for IMDS restriction feature #29044

fix spell

b72ea5e
Select commit
Loading
Failed to load commit list.
Merged

Add swagger defination for IMDS restriction feature #29044

fix spell
b72ea5e
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger LintDiff succeeded May 10, 2024 in 4m 17s

Swagger LintDiff succeeded

Details

Compared specs (v2.2.2) new version base version
package-preview-2024-04 package-preview-2024-04(b72ea5e) package-preview-2024-04(FumingZhang-containerservice-Microsoft.ContainerService-2024-04-02-preview)

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

Rule Message
OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.ContainerService/operations' does not match the ARM specification. Please standardize the schema.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L52
OperationsApiSchemaUsesCommonTypes Operations API path must follow the schema provided in the common types.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L53
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L74
ParametersInPointGet Query parameter resource-type should be removed. Point Get's MUST not have query parameters other than api version.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L80
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L116
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L137
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L237
ResourceNameRestriction The resource name parameter 'roleName' should be defined with a 'pattern' restriction.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L278
ParametersInPost server-fqdn is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L336
ParametersInPost server-fqdn is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L381
ParametersInPost format is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L381
ParametersInPost server-fqdn is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L429
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L569
PatchResponseCodes Long-running PATCH operations must have responses with 200, 202 and default return codes. They also must not have other response codes.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L676
PatchIdentityProperty The patch operation body parameter schema should contain property 'identity'.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L695
LroPatch202 The async patch operation should return 202.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L713
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L723
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L781
ResourceNameRestriction The resource name parameter 'configName' should be defined with a 'pattern' restriction.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L841
PostResponseCodes Long-running POST operations must have responses with 202 and default return codes. They must also 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. They also must not have other response codes.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1011
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1055
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1223
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1347
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1363
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1562
OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'AgentPools' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1566
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1586
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: aks/preview/2024-04-02-preview/managedClusters.json#L1605
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1651
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: aks/preview/2024-04-02-preview/managedClusters.json#L1667
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1714
PostResponseCodes Long-running POST operations must have responses with 202 and default return codes. They must also 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. They also must not have other response codes.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1730
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1771
PostResponseCodes Long-running POST operations must have responses with 202 and default return codes. They must also 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. They also must not have other response codes.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1787
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1824
PostResponseCodes Long-running POST operations must have responses with 202 and default return codes. They must also 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. They also must not have other response codes.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1840
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1876
PostResponseCodes Long-running POST operations must have responses with 202 and default return codes. They must also 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. They also must not have other response codes.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1892
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1929
PostResponseCodes Long-running POST operations must have responses with 202 and default return codes. They must also 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. They also must not have other response codes.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1945
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1982
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L1998
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L2022
DeleteResponseCodes Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L2151
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L2188
PostResponseCodes 202 response for a LRO POST operation must not have a response schema specified.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L2201
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: aks/preview/2024-04-02-preview/managedClusters.json#L2201
LroLocationHeader A 202 response should include an Location response header.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L2231
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L2244
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: aks/preview/2024-04-02-preview/managedClusters.json#L2260