Prasad Karanth Thank you for posting your question in Microsoft Q&A. This is working per design and as explained in GitHub thread, all pre-defined values for a parameter are treated as Enum and hence you see the limited set of values defined in API.
So instead of adding the parameter values, you can specify examples using OpenApi's example
property described as follows:
Setting examples for parameters isn't supported in the form-based design of the Azure portal interface, but you can do it manually by editing the OpenAPI file:
- Go to APIs in your API Management service in the Azure portal.
- Select your API.
- Keep "All operations" selected.
- Select the "pencil" icon in the "frontend" section.
- Edit the OpenAPI file and save it.
Here is the sample I checked in my APIM operation, and you can customize the object based on your need:
Developer portal:
If you have any feedback regarding this, feel free to open up a conversation directly with our product team on the GitHub thread.
I hope this helps with your question. Please accept as "Yes" if the answer is helpful, so that it can help others in the community.