ARM Error
ARM OpenAPI(swagger) specs
- RPC-Put-V1-06
Top level properties should be one of name
, type
, id
, location
, properties
, tags
, plan
, sku
, etag
,
managedBy
, identity
, systemData
, extendedlocation
. Per ARM guidelines,
top level properties of a resource should be only ones from the allowed set.
Either remove the extra properties or move them into the properties
bag of the resource model.
Notice that extraProperty
is inside properties
bag, and not at top level.
"VersionedApplicationType": {
"description": "The versioned application type resource",
"properties": {
"properties":{
"extraProperty": {
"type": "string",
"description": "Extra property description"
}
}
},
"allOf": [
{
"$ref": "#/definitions/Resource"
}
]
}
extraProperty
is not allowed at top level of the resource model.
"VersionedApplicationType": {
"description": "The versioned application type resource",
"properties": {
"extraProperty": {
"type": "string",
"description": "Extra property description"
}
},
"allOf": [
{
"$ref": "#/definitions/Resource"
}
]
}