You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"provisioningState": {
"readOnly": true,
"type": "string",
"description": "The current provisioning state of the API Management gateway config connection ",
"enum": [
"Activating",
"Canceled",
"Failed",
"Succeeded",
"Terminating",
"Upgrading",
"Updating"
],
"x-ms-enum": {
"name": "ProvisioningState",
"modelAsString": true
}
},
they have the same x-ms-enum,name and m4 will merge these two enum values which is unexpected
PS: if the first one has value[] or both of them have value[] in x-ms-enum , the second one will be missed stead of merging together
The text was updated successfully, but these errors were encountered:
kazrael2119
changed the title
[hlc] generate unexpected enum if swagger has several same x-ms-enum.name definition
[hlc] generate unexpected enum if swagger has multiple identical x-ms-enum.name definitions
Sep 2, 2024
here are the two provisioningState definitions from swagger:
1:
2:
they have the same x-ms-enum,name and m4 will merge these two enum values which is unexpected
PS: if the first one has value[] or both of them have value[] in x-ms-enum , the second one will be missed stead of merging together
The text was updated successfully, but these errors were encountered: