springdoc / springdoc.github.io

Library for OpenAPI 3 with spring-boot
https://springdoc.org
Apache License 2.0
9 stars 40 forks source link

Demonstrate annotation filtering in SpringDoc #27

Closed mc1arke closed 2 years ago

mc1arke commented 2 years ago

Springfox allowed filtering of endpoints by method and class annotation, thereby allowing more granular filtering than the package or path filtering originally available in SpringDoc. As the implementation of an OpenApiMethodFilter has now been introduced into SpringDoc, the equivalent functionality of SpringDoc annotation filtering is now available, so a suitable example is now being included in the migration documentation.

bnasslahsen commented 2 years ago

Thank you @mc1arke for your contribution to the documentation as well!