Open AlienDave opened 1 year ago
I have sort of the same issue. I create a vanilla Azure Function V4 Framework 4.8 default application and only added the Microsoft.Azure.Functions.Worker.Extensions.OpenApi library. If I run the code and call the http://localhost:7112/api/swagger/ui url i get
in the console.
returned to the browser
Error CS0246: The type or namespace name 'OpenApiOperation' could not be found (are you missing a using directive or an assembly reference?)
I'm writing a v4 Isolated function, using .Net Framework 4.8.
I have
using Microsoft.Azure.Functions.Worker.Extensions.OpenApi.Extensions;
(I've tried also without.Extensions
) Intellicode only suggests usingMicrosoft.Azure.Webjobs...
Screenshots
Environment (please complete the following information, if applicable):