Unchase.Swashbuckle.AspNetCore.Extensions icon indicating copy to clipboard operation
Unchase.Swashbuckle.AspNetCore.Extensions copied to clipboard

Does IncludeXmlCommentsFromInheritDocs work on action methods?

Open mhsimkin opened this issue 3 years ago • 1 comments

I can't seem to get your filters to work when the is on an action method. Do you have an example of on an action method?

I've reviewed your test code. Your test code is only testing when it is on a property.

Thanks

-marc

mhsimkin avatar Aug 31 '22 18:08 mhsimkin

To answer my own question. No, IncludeXmlCommentsFromInheritDocs will not work for action methods (OpenAPI Operations). There needs to be an IOperationFilter implementation.

mhsimkin avatar Aug 31 '22 20:08 mhsimkin