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

[Microsoft.DocumentDB] Bug fix for preview API Version 2024-05-15-preview #29344

Merged
merged 4 commits into from
Jun 7, 2024

Merge branch 'main' into pjohari-ms-cdb0515pbf

4ab6753
Select commit
Loading
Failed to load commit list.
Merged

[Microsoft.DocumentDB] Bug fix for preview API Version 2024-05-15-preview #29344

Merge branch 'main' into pjohari-ms-cdb0515pbf
4ab6753
Select commit
Loading
Failed to load commit list.
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
⚠️ MissingSegmentsInNestedResourceListOperation 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
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L48
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L51
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L57
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L106
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L109
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L118
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L173
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L176
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L185
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L229
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L232
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L241
⚠️ XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L388
⚠️ XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L462
⚠️ XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L496
⚠️ XmsIdentifierValidation Missing identifier id in array item property
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L536
⚠️ LocationMustHaveXmsMutability Property location must have 'x-ms-mutability':['read', 'create'] extension defined.
Location: Microsoft.DocumentDB/preview/2024-05-15-preview/services.json#L566