azure-functions-openapi-extension icon indicating copy to clipboard operation
azure-functions-openapi-extension copied to clipboard

Bug report, feature request or other request

Open johnno82 opened this issue 2 years ago • 0 comments

Describe the issue When using Microsoft.Azure.WebJobs.Extensions.OpenApi setting the content type: application/x-www-form-urlencoded on a OpenApiRequestBody attribute, SwaggerUI is not rendering the ui properly.

To Reproduce Steps to reproduce the behavior:

  1. Create an HTTP triggered function with OpenApi support
  2. Add the OpenApiRequestBody attribute with content type se to: application/x-www-form-urlencoded
  3. Run the function
  4. navigate to /swagger/ui

Expected behavior SwaggerUI should render a text box where the user can input the body when trying the function

Screenshots image image

Environment (please complete the following information, if applicable):

  • OS: Windows
  • Browser Chrome
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

johnno82 avatar Sep 14 '23 17:09 johnno82