Open ekonor opened 7 years ago
There might be something else going on, it works fine for me...
Here is my test controller using a ValueProvider: https://github.com/heldersepu/SwashbuckleTest/blob/master/Swagger_Test/Controllers/ValueProviderController.cs And here is how it looks like in swagger: http://swashbuckletest.azurewebsites.net/swagger/ui/index#!/ValueProvider/ValueProvider_Get
Thanks for reply, Yeah, i've checked. Problem is revealed in combination of using ValueProvider attribute and [Route("{id}")] or [RoutePrefix("api/v1/mycontroller/{id}/operations")] If I remove Route attribute, action is apearing in swagger
We do have a history of issue with the routes and binding attributes, see issue #1058
In some of my controller actions I have to use ValueProvider attribute like this:
Actions like this one are skipped in swagger documentations. They are already skipped when I get into my custom Document and Operation filters so I can't do anything about it.