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

Release machinelearningservices microsoft.machine learning services 2025 01 01 preview #32279

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Release distillation changes (#32186)

fed6d0b
Select commit
Loading
Failed to load commit list.
Open

Release machinelearningservices microsoft.machine learning services 2025 01 01 preview #32279

Release distillation changes (#32186)
fed6d0b
Select commit
Loading
Failed to load commit list.
openapi-pipeline-app / Swagger LintDiff failed Jan 27, 2025 in 7m 55s

Swagger LintDiff failed

LintDiff: 243 Errors, 1667 Warnings
View Azure DevOps build log for more details.

Details

Compared specs (v2.2.3) new version base version
package-preview-2025-01 package-preview-2025-01(fed6d0b) default(main)

[must fix]The following errors/warnings are introduced by current PR:
Only 50 items are listed, please refer to log for more details.

Rule Message Related RPC [For API reviewers]
ParametersSchemaAsTypeObject The schema for body parameters must specify type:object and include a definition for its reference model.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L566
RPC-Arg-V1-01
ParametersSchemaAsTypeObject The schema for body parameters must specify type:object and include a definition for its reference model.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L710
RPC-Arg-V1-01
GuidUsage Usage of Guid is not recommended. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/registries.json#L743
SecurityDefinitionsStructure Every OpenAPI(swagger) spec/configuration must have a security definitions section and it must adhere to the following structure: https://github.com/Azure/azure-openapi-validator/blob/main/docs/security-definitions-structure-validation.md
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/workspaceRP.json#L1
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/workspaceRP.json#L252
RPC-Async-V1-16
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/workspaceRP.json#L307
RPC-Async-V1-16
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/workspaceRP.json#L366
RPC-Async-V1-16
ParametersSchemaAsTypeObject The schema for body parameters must specify type:object and include a definition for its reference model.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/workspaceRP.json#L1300
RPC-Arg-V1-01
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.MachineLearningServices/preview/2025-01-01-preview/workspaceRP.json#L2253
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.MachineLearningServices/preview/2025-01-01-preview/workspaceRP.json#L2498
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/workspaceRP.json#L3674
RPC-Async-V1-16
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/workspaceRP.json#L3732
RPC-Async-V1-16
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/workspaceRP.json#L4410
RPC-Policy-V1-05, RPC-Put-V1-23
DefinitionsPropertiesNamesCamelCase Property name should be camel case.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/workspaceRP.json#L6994
⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L537
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L546
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L549
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L558
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L580
⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L687
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L690
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L693
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L702
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L724
⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L872
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L881
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L884
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L893
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L912
⚠️ ListInOperationName Since operation response has model definition in array type, it should be of the form '_list'.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L919
⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L924
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'getallowedvmsizesforresize' in:'Compute_getAllowedResizeSizes'. Consider updating the operationId
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L924
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L928
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L931
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L940
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L953
⚠️ UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: List VM Sizes
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L957
⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ComputeModel'. Consider using the plural form of 'Compute' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L970
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L975
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L978
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L987
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L1011
⚠️ UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: List VM Sizes
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L1015
⚠️ 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.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L2167
⚠️ 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.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L2174
⚠️ 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.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L2181
⚠️ 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.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L2188
⚠️ 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.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L2994
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v6 of types.json.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L3007
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L3067


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

Rule Message
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L85
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L110
PatchResponseCodes Long-running PATCH operations must have responses with 200, 202 and default return codes. They also must not have other response codes.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L415
PatchIdentityProperty The patch operation body parameter schema should contain property 'identity'.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L444
ConsistentPatchProperties The property 'properties.properties' in the request body either not apppear in the resource model or has the wrong level.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L448
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:maxNodeCount.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L448
LroPatch202 The async patch operation should return 202.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L454
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.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L469
CollectionObjectPropertiesNaming Collection object returned by list operation 'Compute_ListNodes' with 'x-ms-pageable' extension, has no property named 'value'.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L613
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L1886
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L3015
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L3027
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L3067
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L3095
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L3118
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L4142
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/machineLearningServices.json#L4167
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L202
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L312
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L375
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L381
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L487
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L611
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L681
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L687
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L844
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L954
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1017
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1023
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1129
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1253
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1323
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1329
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1441
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1566
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1566
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1756
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1895
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L1895
PathForResourceAction Path for 'post' method on a resource type MUST follow valid resource naming.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L2058
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L2209
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L2319
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L2382
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L2388
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L2521
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L2645
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L2715
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L2721
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.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L2833
ProvisioningStateMustBeReadOnly provisioningState property must be set to readOnly.
Location: Microsoft.MachineLearningServices/preview/2025-01-01-preview/mfe.json#L2943