justinytchen hybridcompute microsoft.hybrid compute 2024 07 31 preview #29560
openapi-pipeline-app / Swagger LintDiff
failed
Aug 28, 2024 in 4m 39s
Swagger LintDiff failed
LintDiff: 72 Errors, 310 Warnings
View Azure DevOps build log for more details.
Details
Compared specs (v2.2.3) | new version | base version |
---|---|---|
package-preview-2024-07 | package-preview-2024-07(12faddd) | 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] |
---|---|---|
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'HybridIdentityMetadataList' has extra properties ['nextLink']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4555 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'HybridIdentityMetadataList' has extra properties ['value']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4555 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'AgentVersionsList' has extra properties ['value']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4618 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'AgentVersionsList' has extra properties ['nextLink']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4618 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'AgentVersion' has extra properties ['agentVersion']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4639 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'AgentVersion' has extra properties ['downloadLink']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4639 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'AgentVersion' has extra properties ['osType']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4639 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'MachineRunCommandsListResult' has extra properties ['value']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L5245 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'MachineRunCommandsListResult' has extra properties ['nextLink']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L5245 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'GatewaysListResult' has extra properties ['value']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L5427 |
RPC-Put-V1-06 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'GatewaysListResult' has extra properties ['nextLink']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L5427 |
RPC-Put-V1-06 |
EvenSegmentedPathForPutOperation |
API path with PUT operation defined MUST have even number of segments (i.e. end in {resourceType}/{resourceName} segments). Location: Microsoft.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json#L698 |
RPC-Put-V1-02 |
XmsPageableForListCalls |
x-ms-pageable extension must be specified for LIST APIs.Location: Microsoft.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json#L699 |
RPC-Get-V1-13 |
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'HybridIdentityMetadataModel'. Consider using the plural form of 'HybridIdentityMetadata' 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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1728 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1741 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1744 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1765 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1778 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'HybridIdentityMetadataModel'. Consider using the plural form of 'HybridIdentityMetadata' 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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1789 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1802 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1805 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1818 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1831 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'AgentVersionModel'. Consider using the plural form of 'AgentVersion' 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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1845 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1849 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1869 |
||
OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'AgentVersionModel'. Consider using the plural form of 'AgentVersion' 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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1888 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1892 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1919 |
||
Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: GET Agent Versions Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1923 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1939 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1957 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1960 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1994 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2016 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2034 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2037 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2068 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2087 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2096 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2099 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2127 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2149 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2158 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2161 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2174 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2194 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2207 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2210 |
||
Use the latest version v5 of types.json. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2223 |
The following errors/warnings exist before current PR submission:
Only 50 items are listed, please refer to log for more details.
Rule | Message |
---|---|
PostResponseCodes |
Long-running POST operations must have responses with 202 and default return codes. They must also have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. They also must not have other response codes. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L38 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'Licenses' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L42 |
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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L84 |
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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L84 |
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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L134 |
LroPatch202 |
The async patch operation should return 202. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L163 |
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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L224 |
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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L348 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not be required, property:name. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L441 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L520 |
ResourceNameRestriction |
The resource name parameter 'extensionName' should be defined with a 'pattern' restriction. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1103 |
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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1104 |
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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1104 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1154 |
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.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1253 |
PostResponseCodes |
200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1441 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1617 |
OperationsApiSchemaUsesCommonTypes |
Operations API path must follow the schema provided in the common types. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1654 |
XmsPageableForListCalls |
x-ms-pageable extension must be specified for LIST APIs.Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1675 |
GetCollectionOnlyHasValueAndNextLink |
Get endpoints for collections of resources must only have the value and nextLink properties in their model.Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L1705 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'ExtensionValueListResult' has extra properties ['value']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2722 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'OperationListResult' has extra properties ['value']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L2774 |
AvoidAdditionalProperties |
Definitions must not have properties named additionalProperties except for user defined tags or predefined references. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L3206 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'Machine' has extra properties ['resources']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L3420 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'MachineListResult' has extra properties ['value']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L3489 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'MachineListResult' has extra properties ['nextLink']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L3489 |
AllTrackedResourcesMustHaveDelete |
The resource License does not have a corresponding delete operation. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L3528 |
TrackedResourcePatchOperation |
Tracked resource 'License' must have patch operation that at least supports the update of tags. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L3528 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'LicensesListResult' has extra properties ['value']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L3737 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'LicensesListResult' has extra properties ['nextLink']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L3737 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'LicenseProfilesListResult' has extra properties ['value']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L3837 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'LicenseProfilesListResult' has extra properties ['nextLink']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L3837 |
ArmResourcePropertiesBag |
Top level property names should not be repeated inside the properties bag for ARM resource 'MachineExtension'. Properties [properties.type] conflict with ARM top level properties. Please rename these. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4258 |
AvoidAdditionalProperties |
Definitions must not have properties named additionalProperties except for user defined tags or predefined references. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4316 |
AvoidAdditionalProperties |
Definitions must not have properties named additionalProperties except for user defined tags or predefined references. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4321 |
AvoidAdditionalProperties |
Definitions must not have properties named additionalProperties except for user defined tags or predefined references. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4365 |
AvoidAdditionalProperties |
Definitions must not have properties named additionalProperties except for user defined tags or predefined references. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4370 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'MachineExtensionsListResult' has extra properties ['value']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4432 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'MachineExtensionsListResult' has extra properties ['nextLink']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4432 |
AvoidAdditionalProperties |
Definitions must not have properties named additionalProperties except for user defined tags or predefined references. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4464 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'NetworkProfile' has extra properties ['networkInterfaces']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json#L4482 |
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.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json#L116 |
ResourceNameRestriction |
The resource name parameter 'groupName' should be defined with a 'pattern' restriction. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json#L356 |
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.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json#L449 |
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.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json#L449 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json#L491 |
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.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json#L508 |
PathForNestedResource |
The path for nested resource doest not meet the valid resource pattern. There is one exception for extension resources with fully qualified path and the author can go ahead and suppress the error(look at https://github.com/Azure/azure-openapi-validator/blob/main/docs/path-for-nested-resource.md#pathfornestedresource for more details) Location: Microsoft.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json#L659 |
XmsPageableForListCalls |
x-ms-pageable extension must be specified for LIST APIs.Location: Microsoft.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json#L660 |
BodyTopLevelProperties |
Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'NetworkSecurityPerimeterConfigurationListResult' has extra properties ['value']. Location: Microsoft.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json#L1421 |
Loading