Azure / Azure/azure-rest-api-specs

[Service Fabric] resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json doesn't follow standard schema as other rest api specs

Open
#8,992 0 comments 0 reactions 0 assignees View on GitHub
customer-reported needs-team-attention Service Attention Service Fabric
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

The Cluster definition has a schema which doesn't match other azure rest api specs and should be as following:
`{
"Cluster": {
"type": "object",
"description": "The cluster resource\n",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/ClusterProperties",
"description": "The cluster resource properties"
}
},
"allOf": [
{
"$ref": "#/definitions/Resource"
}
]
},`

the Azure portal IAASEXP team uses these specs to generate models for the UI.

Contributor guide

Open the contributing guide

Research direction

Open resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json and inspect the Cluster definition against the schema shown in the issue and other Azure REST API specifications. Done means the definition follows that structure, including the Resource reference and ClusterProperties reference, so the IAASEXP team can generate UI models from it.

Written by the indexing model from the issue text.

Assessment

Tech stack
json, openapi
Domain
api
Issue type
Bug
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.