Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: includePatterns does not exist (anymore?) #1174

Closed
vorburger opened this issue Feb 11, 2016 · 1 comment
Closed

Doc: includePatterns does not exist (anymore?) #1174

vorburger opened this issue Feb 11, 2016 · 1 comment

Comments

@vorburger
Copy link

Both http://springfox.github.io/springfox/docs/current/#docket-spring-java-configuration and http://springfox.github.io/springfox/docs/snapshot/#docket-spring-java-configuration mention .includePatterns(".*pet.*"), but there is no includePatterns method available (anymore?) on Docket - perhaps the doc could clarify where it went?

@dilipkrish dilipkrish added this to the 2.4.0 milestone Feb 11, 2016
@dilipkrish dilipkrish added the bug label Feb 11, 2016
@dilipkrish
Copy link
Member

@vorburger thanks for catching that. The documentation needs to be fixed. The source of truth (tested code) is however in the section above.

In any case, there is a selector api that is predicate based, see 4, 5 & 6. You can select by paths using the path selector, in addition you can also select based on the RequestHandler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants