Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default query params values appearing in the APIM-Developer portal drop down option

rnaveen5 opened this issue · comments

Bug description

In the Azure APIM , the Front end settings 's Query parameter shows ups value by default.

Expected behavior

The dropdown box in the "Try it" query params section does not show any option by default

Is your portal managed or self-hosted?

Managed

Environment

  • Operating system: Windows
  • Browser: Edge

image

Hi @rnaveen5 , thank you for reaching out!
I'm not sure I understand what you mean. From Azure Portal, you can select a query param to be the default value, such as:
image

Then, in developer portal, this value will be selected by default:
image

Can you please clarify what issue you are experiencing? Is this behavior not working as expected for you or did I misunderstand the description of the issue?

Hi @malincrist
we have an Enum field as a query parameter in the specification and it marked with no default values.

image

It even shows the values in the Developer portal which actual should appear by default as empty.

image

The reason being , this value gets added to the call even without the user selecting the value.

oh, I got it now, dev portal populates enums even if "no default" is selected. Thanks for the clarification!
I have created an internal work item for us to address this. Thanks for reporting it.

Hi @malincrist , Just following up . Any idea on the ETA.

For managed portal, please create a support request using azure help and support center

https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request