How can we improve Azure API Management?

Import mandatory query parameters as query rather than in the URL template

When an API is imported into API-M using Swagger, mandatory query parameters are imported into the URL template rather than as query parameters.

The effect of this is when a parameter is missing API-M returns a 404. The correct behaviour should be to return a 400 Bad Request with a validation error, or pass the request to the back-end API to return an appropriate error.

I suggest adding an option to import mandatory query parameters from Swagger as query parameters.

56 votes
Vote
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
You have left! (?) (thinking…)
James Doof shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base