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

[Hub Generated] Review request for Microsoft.Consumption to add version stable/2023-11-01 #25751

updated based on request from PM Team

a2a20cf
Select commit
Loading
Failed to load commit list.
Merged

[Hub Generated] Review request for Microsoft.Consumption to add version stable/2023-11-01 #25751

updated based on request from PM Team
a2a20cf
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / ~[NotRequired_Staging] Swagger LintDiff failed Oct 10, 2023 in 3m 21s

~[NotRequired_Staging] Swagger LintDiff failed

ppe/LintDiff: 56 Errors, 10 Warnings
View more details.

Details

compared tags (via openapi-validator vbeta) new version base version
package-2023-11 package-2023-11(a2a20cf) package-2023-11(main)

[must fix]The following errors/warnings are introduced by current PR:

Rule Message Related RPC [For API reviewers]
FATAL spectralPluginFunc: Failed validating: 'file:///mnt/vss/_work/1/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-11-01/consumption_pricesheet.json'. Errors encountered: Error: Error running Nimma Error 1: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined')
Location: azure-rest-api-specs/blob/a2a20cf7ffe93f39ddf58906cb23537b492353dc/#L1
FATAL spectralPluginFunc: Failed validating: 'file:///mnt/vss/_work/1/azure-rest-api-specs/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-11-01/consumption.json'. Errors encountered: Error: Error running Nimma Error 1: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 2: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 3: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 4: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 5: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 6: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 7: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 8: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 9: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 10: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 11: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 12: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 13: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 14: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 15: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 16: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 17: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 18: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 19: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 20: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 21: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 22: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 23: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 24: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 25: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 26: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 27: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 28: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined') Error 29: $[paths,'x-ms-paths'].* threw: ErrorWithCause('Function 'patchPropertiesCorrespondToPutProperties' threw an exception: Cannot read property 'length' of undefined')
Location: azure-rest-api-specs/blob/a2a20cf7ffe93f39ddf58906cb23537b492353dc/#L1


The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.

Rule Message
MissingTypeObject The schema 'AmountWithExchangeRate' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5648
MissingTypeObject The schema 'ProxyResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5623
MissingTypeObject The schema 'ResourceAttributes' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5608
MissingTypeObject The schema 'ReservationTransactionResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5579
MissingTypeObject The schema 'Resource' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5545
MissingTypeObject The schema 'amount' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5529
MissingTypeObject The schema 'CreditBalanceSummary' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5509
MissingTypeObject The schema 'LotProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5308
MissingTypeObject The schema 'Lots' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5274
MissingTypeObject The schema 'EventProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5125
MissingTypeObject The schema 'Events' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5091
MissingTypeObject The schema 'OperationListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5073
MissingTypeObject The schema 'display' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L5046
MissingTypeObject The schema 'HighCasedErrorDetails' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4997
MissingTypeObject The schema 'ErrorDetails' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4982
MissingTypeObject The schema 'MeterDetailsResponse' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4952
MissingTypeObject The schema 'ChargesListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4762
MissingTypeObject The schema 'PriceSheetProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4621
MissingTypeObject The schema 'DownloadProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4606
MissingTypeObject The schema 'PriceSheetModel' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4580
TopLevelResourcesListBySubscription The top-level resource 'PriceSheetResult' does not have list by subscription operation, please add it.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4564
MissingTypeObject The schema 'Notification' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4433
MissingTypeObject The schema 'ForecastSpend' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4417
MissingTypeObject The schema 'CurrentSpend' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4401
MissingTypeObject The schema 'BudgetComparisonExpression' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4368
MissingTypeObject The schema 'BudgetFilterProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4355
MissingTypeObject The schema 'BudgetFilter' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4333
MissingTypeObject The schema 'BudgetTimePeriod' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4315
MissingTypeObject The schema 'BudgetProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4244
MissingTypeObject The schema 'BudgetsListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4210
MissingTypeObject The schema 'Tag' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4194
MissingTypeObject The schema 'TagProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4169
MissingTypeObject The schema 'ModernReservationTransactionsListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4135
MissingTypeObject The schema 'ReservationTransactionsListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L4117
MissingTypeObject The schema 'LegacyReservationTransactionProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3974
MissingTypeObject The schema 'ModernReservationTransactionProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3827
MissingTypeObject The schema 'SkuProperty' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3660
MissingTypeObject The schema 'ReservationRecommendationsListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3463
MissingTypeObject The schema 'ReservationRecommendationDetailsUsageProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3430
MissingTypeObject The schema 'ReservationRecommendationDetailsSavingsProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3391
MissingTypeObject The schema 'ReservationRecommendationDetailsResourceProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3353
MissingTypeObject The schema 'ReservationRecommendationDetailsCalculatedSavingsProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3314
MissingTypeObject The schema 'ReservationRecommendationDetailsProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3279
TrackedResourcesMustHavePut The tracked resource ReservationRecommendationDetailsModel does not have a corresponding put operation.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3255
TrackedResourcePatchOperation Tracked resource 'ReservationRecommendationDetailsModel' must have patch operation that at least supports the update of tags.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3255
MissingTypeObject The schema 'ReservationDetailProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3191
MissingTypeObject The schema 'ReservationDetailsListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3173
MissingTypeObject The schema 'ReservationSummaryProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3066
MissingTypeObject The schema 'ReservationSummariesListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L3048
MissingTypeObject The schema 'ModernUsageDetailProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
Location: Microsoft.Consumption/stable/2023-11-01/consumption.json#L2302