[test report links] Update ApplicationGroups.json #3266
Closed
openapi-pipeline-app-test / Swagger LintDiff
failed
Apr 22, 2024 in 2m 55s
Swagger LintDiff failed
LintDiff: 9 Errors, 30 Warnings
View Azure DevOps build log for more details.
Details
Compared specs (v2.2.0) | new version | base version |
---|---|---|
package-2022-05-01 | package-2022-05-01(122cdbd) | package-2022-05-01(main) |
package-2024-01 | package-2024-01(122cdbd) | package-2024-01(main) |
[must fix]The following errors/warnings are introduced by current PR:
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
NestedResourcesMustHaveListOperation |
The nested resource 'ApplicationGroup' does not have list operation, please add it. Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L198 |
|
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L37 |
RPC-Get-V1-11 | |
The resource LinkerResource does not have a corresponding delete operation. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L693 |
RPC-Delete-V1-05 |
The following errors/warnings exist before current PR submission:
Rule | Message |
---|---|
ResourceNameRestriction |
The resource name parameter 'linkerName' should be defined with a 'pattern' restriction. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L74 |
PatchResponseCodes |
Long-running PATCH operations must have responses with 200, 202 and default return codes. They also must not have other response codes. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L168 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not be required, property:type. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L198 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not be required, property:authType. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L198 |
LroPatch202 |
The async patch operation should return 202. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L203 |
ResourceNameRestriction |
The resource name parameter 'linkerName' should be defined with a 'pattern' restriction. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L225 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L259 |
ResourceNameRestriction |
The resource name parameter 'linkerName' should be defined with a 'pattern' restriction. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L271 |
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ApplicationGroupModel'. Consider using the plural form of 'ApplicationGroup' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L42 |
|
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L50 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ApplicationGroupModel'. Consider using the plural form of 'ApplicationGroup' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L95 |
|
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L102 |
|
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ApplicationGroupModel'. Consider using the plural form of 'ApplicationGroup' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L138 |
|
Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L145 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L205 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L52 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L65 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L88 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L104 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L132 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L163 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L188 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L219 |
|
OperationId should contain the verb: 'validatelinker' in:'Linker_Validate'. Consider updating the operationId Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L230 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L246 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L265 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L288 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L304 |
|
Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: GetConfiguration Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L317 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L324 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L331 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L337 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L431 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L698 |
|
Use the latest version v5 of types.json. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L714 |
|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L866 |
Loading