Constants: pulling the display name from x-ms-enum
#3010
Labels
data/swagger-issue
An issue related to the Swagger/OpenAPI Definitions
tool/importer-rest-api-specs
Swagger Data Importer issues
Some Swaggers define a display name for integer (and potentially float) constants - as such we should look to use this for these two constant types:
https://github.com/Azure/azure-rest-api-specs/blob/80c21c17b4a7aa57f637ee594f7cfd653255a7e0/specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/botservice.json#L2187-L2210
Note: we shouldn't do this for string constants, since the string value will be a good enough identifier
The text was updated successfully, but these errors were encountered: