Cognitive Services 2025-04-01 #32877
Draft
openapi-pipeline-app / Swagger LintDiff
failed
Feb 27, 2025 in 4m 26s
Swagger LintDiff failed
LintDiff: 57 Errors, 485 Warnings
View Azure DevOps build log for more details.
Details
[must fix]The following errors/warnings are introduced by current PR:
Only 50 items are listed, please refer to log for more details.
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
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.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3710 |
RPC-Async-V1-11, RPC-Put-V1-11 |
PatchResponseCodes |
202 response for a LRO PATCH operation must not have a response schema specified. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3778 |
RPC-Patch-V1-06 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not have default value, property:keySource. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3803 |
RPC-Patch-V1-10 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not be required, property:name. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3803 |
RPC-Patch-V1-10 |
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.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3837 |
RPC-Delete-V1-01 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not be required, property:authType. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L4098 |
RPC-Patch-V1-10 |
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.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L4123 |
RPC-Async-V1-11, RPC-Put-V1-11 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not be required, property:authType. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L4376 |
RPC-Patch-V1-10 |
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.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L4401 |
RPC-Async-V1-11, RPC-Put-V1-11 |
AvoidAdditionalProperties |
Definitions must not have properties named additionalProperties except for user defined tags or predefined references. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L8089 |
RPC-Policy-V1-05, RPC-Put-V1-23 |
AvoidAdditionalProperties |
Definitions must not have properties named additionalProperties except for user defined tags or predefined references. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L8528 |
RPC-Policy-V1-05, RPC-Put-V1-23 |
GuidUsage |
Usage of Guid is not recommended. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L8562 |
|
NestedResourcesMustHaveListOperation |
The nested resource 'CapabilityHostResource' does not have list operation, please add it. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L8626 |
|
AvoidAdditionalProperties |
Definitions must not have properties named additionalProperties except for user defined tags or predefined references. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L8770 |
RPC-Policy-V1-05, RPC-Put-V1-23 |
AutoRest exception |
"tag":"package-preview-2025-04-01-preview", "details":"Semantic violation: Path parameter 'projectName' referenced in path '/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.CognitiveServices/accounts/accountName/projects/projectName/capabilityHosts/capabilityHostName' needs to be defined in every operation at either the path or operation level. (Missing in 'delete', 'get', 'put') (paths > /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.CognitiveServices/accounts/accountName/projects/projectName/capabilityHosts/capabilityHostName) paramName: \u001b[32m'projectName'\u001b[39m uri: \u001b[32m'/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.CognitiveServices/accounts/accountName/projects/projectName/capabilityHosts/capabilityHostName'\u001b[39m methods: [ \u001b[32m'delete'\u001b[39m, \u001b[32m'get'\u001b[39m, \u001b[32m'put'\u001b[39m ]" |
|
AutoRest exception |
"tag":"package-preview-2025-04-01-preview", "details":"Process() cancelled due to failure" |
|
AutoRest exception |
"tag":"package-preview-2025-04-01-preview", "details":"!Error: Semantic validation failed. There was some errors" |
|
AutoRest exception |
"tag":"package-preview-2025-04-01-preview", "details":"stack: Error: Semantic validation failed. There was some errors at /home/cloudtest/.autorest/@[email protected]/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:5645:27 at runNextTicks (node:internal/process/task_queues:60:5) at processImmediate (node:internal/timers:447:9) at ScheduleNode (/home/cloudtest/.autorest/@[email protected]/node_modules/@autorest/core/dist/src_lib_autorest-core_ts.js:1351:29)" |
|
AutoRest exception |
"tag":"package-preview-2025-04-01-preview", "details":"Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing." |
|
Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: Create Account Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3716 |
||
Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: Create Account Min Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3716 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3726 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3744 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3747 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3772 |
||
Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: Update Account Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3784 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3791 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3809 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3812 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3831 |
||
Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: Delete Account Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3843 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3850 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3859 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3862 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3878 |
||
Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: Get Account Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3890 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3897 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3906 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3909 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3922 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3942 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3948 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3951 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3964 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3985 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3988 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L3997 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L4010 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L4031 |
||
Use the latest version v6 of types.json. Location: Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json#L4034 |
The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.
Loading