Fixing typespec-next for June 2024 release #29427
Merged
openapi-pipeline-app / Swagger LintDiff
succeeded
Jun 13, 2024 in 5m 54s
Swagger LintDiff succeeded
Details
Compared specs (v2.2.2) | new version | base version |
---|---|---|
package-preview-2023-11 | package-preview-2023-11(0403d48) | package-preview-2023-11(typespec-next) |
package-preview-2024-05 | package-preview-2024-05(0403d48) | package-preview-2024-05(typespec-next) |
package-2024-03-01-preview | package-2024-03-01-preview(0403d48) | package-2024-03-01-preview(typespec-next) |
default | default(0403d48) | default(typespec-next) |
The following errors/warnings exist before current PR submission:
Rule | Message |
---|---|
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-03-01-preview/mongoCluster.json#L604 |
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-03-01-preview/mongoCluster.json#L919 |
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json#L440 |
|
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json#L419 |
|
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.AzureFleet/preview/2024-05-01-preview/azurefleet.json#L931 |
|
OperationId should contain the verb: 'checkmongoclusternameavailability' in:'MongoClusters_CheckNameAvailability'. Consider updating the operationId Location: Microsoft.DocumentDB/preview/2024-03-01-preview/mongoCluster.json#L97 |
|
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.DocumentDB/preview/2024-03-01-preview/mongoCluster.json#L1499 |
|
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.DocumentDB/preview/2024-03-01-preview/mongoCluster.json#L1518 |
Loading