when trying to implement the Swashbuckle.AspNetCore.Swagger library, gets an error Error CS0246 The type or namespace name 'Operation' could not be found (are you missing a using directive or an assembly reference?)" when using "Operation"
I'm using .net 5
how can i fix this, as the library is already installed
You should replace the class
Operation
withOpenApiOperation
like this: