-
-
Notifications
You must be signed in to change notification settings - Fork 526
Include /oauth/token endpoint using OpenApi Swagger 1.6.5 #1481
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
|
Hello @bnasslahsen, I found the solution. I created a HelloController and I realized that I had a proxy for retries (org.aspectj:aspectjrt:1.9.5). I removed the class and the /oauth/token endpoint appears... UPDATE: I include the proxy in the HelloController project and /oauth/token endpoint dissapears. Do you know how I could include both? |
@ZamasuG, I don't have the elements to answer you. I am closing this ticket and it will reopened if you provide the relevant information. |
Hello @bnasslahsen, Sorry for the inconvenience. I have a Minimal, Reproducible Example - with HelloController here: https://github.com/ZamasuG/springdoc-hello-controller While I was preparing the example for you, I realized that there are two dependencies that conflict with OpenApi:
If you remove one of them, /oauth/token endpoint appears. I don't know why. Anyways, I give you the example with the error. Thanks you and sorry for the delay. |
Describe the bug
I'm trying to show /oauth/token endpoint in Swagger output JSON. I already include the following dependency into the project:
I include the regular dependency too:
I'm using the following oauth dependency:
When I go to the Swagger endpoint in browser, I'm getting the following endpoints:
/oauth/authorize
/oauth/check_token
/oauth/token_key
But, POST /oauth/token endpoint is not getting generated.
Could you help please?
The text was updated successfully, but these errors were encountered: