springdoc / springdoc.github.io

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

Document code Migrating spring fox is not correct #47

Closed huudev closed 1 year ago

huudev commented 1 year ago

Hi, currently I see the page https://springdoc.org/ section 8. Migrating from SpringFox

line .addMethodFilter(method -> method.isAnnotationPresent(Admin.class)) should be replaced with .addOpenApiMethodFilter(method -> method.isAnnotationPresent(Admin.class))

Thank.

bnasslahsen commented 1 year ago

@huudev,

This a documentation issue. Moved to the right repository docs has been fixed