api-management-developer-portal icon indicating copy to clipboard operation
api-management-developer-portal copied to clipboard

Try It does not allow for enum query parameters without a value

Open CodyRaffy opened this issue 2 years ago • 4 comments

When using the try it feature any enum query parameter, even if defined in YAML as required: false, will default to one of the enum values and be included in the URL constructed and used to try out an API operation. All other inputs simply contain a placeholder showing value and are excluded from the URL. There is no way to exclude the enum parameter without deleting it, whereas every other parameter can be excluded simply by not setting a value. See included screen shot.

image

CodyRaffy avatar Apr 15 '22 20:04 CodyRaffy

@CodyRaffy, thank you for opening this issue. We will triage it within the next few business days.

msftbot[bot] avatar Apr 15 '22 20:04 msftbot[bot]

@CodyRaffy, thank you for reporting the bug.

msftbot[bot] avatar Apr 15 '22 23:04 msftbot[bot]