azure-functions-openapi-extension
azure-functions-openapi-extension copied to clipboard
Support for ASP.NET Core integration request/response model
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:
- Start application with Core Tools version 4.0.5240 or later
- Navigate to api/swagger.json
- Blank page is displayed
Expected behavior OpenAPI json document is displayed
Screenshots
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