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

Support for ASP.NET Core integration request/response model

Open samuelepecetto opened this issue 2 years ago • 0 comments

Describe the issue OpenApiTriggerFunction endpoints such as RenderSwaggerDocument, RenderOpenApiDocument, etc. do not currently work with isolated model and ASP.NET Core integration.

I think that the library should include another set of endpoints which use HttpRequest and HttpResponse/IActionResult.

To Reproduce Steps to reproduce the behavior:

  1. Start application with Core Tools version 4.0.5240 or later
  2. Navigate to api/swagger.json
  3. Blank page is displayed

Expected behavior OpenAPI json document is displayed

Screenshots image

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

  • OS: Windows
  • Browser: edge
  • Version [e.g. 22]: Tried both 1.5.1 and 2.0.0-preview2

Additional context

samuelepecetto avatar Sep 13 '23 08:09 samuelepecetto