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

Fixing typespec-next for June 2024 release #29427

Merged
merged 3 commits into from
Jun 13, 2024

upgrade monitor to v4. Taking arm-id and subId uuid SDK breaking chan…

0403d48
Select commit
Loading
Failed to load commit list.
Merged

Fixing typespec-next for June 2024 release #29427

upgrade monitor to v4. Taking arm-id and subId uuid SDK breaking chan…
0403d48
Select commit
Loading
Failed to load commit list.
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
⚠️ MissingSegmentsInNestedResourceListOperation 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
⚠️ MissingSegmentsInNestedResourceListOperation 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
⚠️ EnumInsteadOfBoolean 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
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'checkmongoclusternameavailability' in:'MongoClusters_CheckNameAvailability'. Consider updating the operationId
Location: Microsoft.DocumentDB/preview/2024-03-01-preview/mongoCluster.json#L97
⚠️ EnumInsteadOfBoolean 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
⚠️ EnumInsteadOfBoolean 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