-
-
Notifications
You must be signed in to change notification settings - Fork 528
Upgrade from Springdoc 1.6.3 to 1.6.4 causes issues if springdoc-openapi-common is on the classpath but springdoc-openapi-ui is not #1446
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
I have added a fix for this. But the original question, is why you are using: |
Thanks @bnasslahsen. Yes, I'd be happy to explain. In our project, we have the following modules:
Thus the Hope that clarifies the use-case. |
i see and makes sense! |
…api-common is on the classpath but springdoc-openapi-ui is not. Fixes springdoc#1446
Describe the bug
On application startup, this error:
Looking at the changes in this code, this method parameter is clearly newly required in Springdoc 1.6.4.
To Reproduce
Steps to reproduce the behavior:
org.springdoc:springdoc-openapi-common
org.springdoc:springdoc-openapi-ui
springdoc.api-docs.enabled
tofalse
Expected behavior
Further notes
I can resolve this by explicitly setting
springdoc.api-docs.enabled
tofalse
, but I thought to raise the issue in case:The text was updated successfully, but these errors were encountered: