ARM Error
ARM OpenAPI(swagger) specs
- RPC-Get-V1-04
The resource "{0}" does not have get operation, please add it.
Per ARM guidelines ,all the resources ,including top-level and nested resources, must have a get operation.
July 13, 2020
July 13, 2020
Since all the models that having 'x-ms-azure-resource' enabled are considered as ARM resource, If the output resource is not exactly a ARM resource,you should remove the extension from the model. Otherwise,for each resource which doesn't have a get operation,add the corresponding get operation.
For example:
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MyNameSpace/MyResourceType/{Name}/SubResource/{subName}": {
"get": {
...
"operationId": "SubResource_Get",
"parameters": [
],
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/SubResource"
}
},