-
-
Notifications
You must be signed in to change notification settings - Fork 524
Add Suppot for Hiding org.springframework.security.core.Authentication on ServerHttpResponse #423
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
Comments
The support will be available on v 1.2.31. |
After updating to 1.2.31 the Authentication object is still exported. Using the following method:
the following will be generated:
Please let me know if you can't reproduce this issue as I'm happy to create a minimal project showcasing it. |
Yes please, add the sample project to reproduce. |
https://github.com/frankruegamer/sprindoc-authentication-bug Note that the schema looks exactly like the one above. |
You are just missing the following dependency on your project: <dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-security</artifactId>
<version>1.2.31</version>
</dependency> You can have a look at the documentation; (Section Spring security support) |
Ah I didn't know this existed :) Works perfectly! |
I noticed this issue #245, but the Authentication definition still seems to be visible in the schema.
org.springframework.http.server.reactive.ServerHttpResponse on the other hand is hidden as expected.
Using springdoc v1.2.30. (Webflux)
The text was updated successfully, but these errors were encountered: