Azure / Azure/azure-sdk-tools

Parameter enums should show values (like properties)

Open
#7,376 0 comments 0 reactions 1 assignee Claimed by @chidozieononiwu View on GitHub
APIView Central-EngSys Swagger
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

APIView isn't showing enum values for parameters that use enums. See https://apiview.dev/Assemblies/Review/7b3ce430df1e49bcb819b5baf75c4631?diffRevisionId=b7a005a6831f44e880215d4bcd4789c5&diffOnly=False&revisionId=1f7d2f16fd1b4ea68126ffbce53a6aa2&doc=False#

image

...and compare that with the swagger: https://github.com/Azure/azure-rest-api-specs/pull/26335/files/7b0446a36cc4da6054bcba30619a8f49ec85cf07..e659eef2ccaeb4970cd50ef1156f1d295eb807af#diff-d702c258c49b3a050d2b86c9f233843a524655c183ea497b8d7716ac1e9ae511R8070

image

Properties show enum values as "keywords". This at least would be helpful, though many enums can be long enough that a single line with tons of strings isn't easy to read, but that's another matter. Something, perhaps, to consider.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.