[Microsoft.DocumentDB] Bug fix for preview API Version 2024-05-15-preview #29344
openapi-pipeline-app / Swagger LintDiff
succeeded
Jun 7, 2024 in 4m 36s
Swagger LintDiff succeeded
Details
Compared specs (v2.2.2) | new version | base version |
---|---|---|
package-preview-2024-05 | package-preview-2024-05(4ab6753) | package-preview-2024-05(main) |
The following errors/warnings exist before current PR submission:
Rule | Message |
---|---|
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L63 |
ResourceNameRestriction |
The resource name parameter 'serviceName' should be defined with a 'pattern' restriction. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L79 |
ProvisioningStateSpecifiedForLROPut |
200 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L80 |
ProvisioningStateSpecifiedForLROPut |
201 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L80 |
PutRequestResponseSchemeArm |
A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'Service_Create' Request Model: 'parameters[5].schema' Response Model: 'responses[200].schema' Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L80 |
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.DocumentDB/preview/2024-05-15-preview/services.json#L80 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L143 |
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.DocumentDB/preview/2024-05-15-preview/services.json#L203 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L267 |
AvoidAdditionalProperties |
Definitions must not have properties named additionalProperties except for user defined tags or predefined references. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L275 |
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L37 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L48 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L51 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L57 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L106 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L109 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L118 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L173 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L176 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L185 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L229 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L232 |
|
Use the latest version v5 of types.json. Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L241 |
|
Missing identifier id in array item property Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L388 |
|
Missing identifier id in array item property Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L462 |
|
Missing identifier id in array item property Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L496 |
|
Missing identifier id in array item property Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L536 |
|
Property location must have 'x-ms-mutability':['read', 'create'] extension defined.Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L566 |
Loading