Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.
MIT License
488 stars 318 forks source link

UI Issues and Bugs with the Operation Details Widget. #1864

Open Ledger94 opened 2 years ago

Ledger94 commented 2 years ago

Bug description

image

It shouldn't be possible to remove or edit Authorization or Ocp-Apim-Subscription-Key headers.

image

In the screenshot a value for countrycode was added, it isn't possible to modify it. Also it isn't set as default in APIM, therefore it should also be empty with the option to select FRA.

image

If the network console is checked, we see that the headers are being sent as "0: name: value" ex: "2: Ocp-Apim-Subscription-Key: value".

image

Reproduction steps

  1. Go to a page with the Operation Details widget.

Expected behavior

Is your portal managed or self-hosted?

Self-hosted

Release tag or commit SHA (if using self-hosted version)

release 2.18.0

API Management service name

apim-apip-internal-dev-naa

Environment

ghost commented 2 years ago

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

ghost commented 2 years ago

@Ledger94, thank you for requesting this feature.

azaslonov commented 2 years ago

@Ledger94, your requests make sense, we'll make respective changes. Regarding the request headers issue, it was fixed last week. It should have automatically apply the changes, but if it didn't please just publish the portal one more time.