Azure / api-management-developer-portal

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

Possibility to remove required elements #805

Open pl-marek-1984 opened 4 years ago

pl-marek-1984 commented 4 years ago

Hi,

Was it an intention to allow developers to remove elements e.g. headers from TryIt portal card?

When we use the Test tab in APIM we cannot remove such a field, whcih seems obvious:

image

image

but in TryIt Developer Portal card:

image

Is it possible to block this for developer if "Required" is set? Is it possible to also fiill this Authorization header when authorizationCode service is used (today when selected it creates such header itsefl).

Thank you in advance!

azaslonov commented 4 years ago

Hi @maras2002, yes, makes sense. We'll fix this.

pl-marek-1984 commented 4 years ago

Great! Thanks! Please make sure this part is covered, I think valid and useful:

"Is it possible to also fiil (or replace) this Authorization header when authorizationCode service is used (today when selected it creates such header itsefl)."

azaslonov commented 4 years ago

This part works even today, isn't it?

pl-marek-1984 commented 4 years ago

Indeed, forget about the last one ;)

azaslonov commented 4 years ago

Alright then, thanks for confirming it.