-
-
Notifications
You must be signed in to change notification settings - Fork 523
Does this library work with Non-boot Spring projects? #568
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 library integrates natively with spring-boot. You can have a look here #250, where there is the steps for some kind of application and sample code using spring without spring-boot. |
@bnasslahsen Thank you for the quick response. You mentioned in #250 that you will update the FAQ and Stack Overflow. I might be missing the obvious here and my apologies if I do, but I do not see any entry in the FAQ table of contents about using springdoc with a a library without spring boot or anything that looks related. I haven't read the full FAQ yet, but before I fully read through it when I'm starting work again in 8 hours, could you tell me if this promised FAQ update has been completed yet? |
Here is the link for the F.A.Q: As mentionned before, there is no real guide for spring integration. It will give you an idea of the steps to follow. |
@bnasslahsen Recently the visibility of configuration classes was reduced |
I see and understand. |
Thanks @bnasslahsen ! |
Its now available on master. |
Thanks @bnasslahsen it looks like all the needed classes are public again. |
We have a spring webflux reactive application that needs to be deployed as war on server. The spring boot cannot be used as dependency as spring boot does not support spring webflux app deployed as war. As per solution mention in github ticket to make springdoc work, do we need to add spring boot dependencies? Is springdoc compatible with non spring boot webflux application? |
We have Spring framework (version 5.3.22) based application, not a spring boot. We have added springdoc-openapi (1.6.11) dependency along with below openapi configuration. @configuration In our application, we have multiple projects having mixed of Java configurations and XML based configurations. Both types of classes (java config like @controller/@service and XML definitions like <bean id="".... >) are having dependencies injected through @Autowred. The classes having beans created through component scanning (@controller/@service) are working well, all the injected dependecies are resolved as expected. Without this springdoc-openpi dependency and these OpenApiConfig, we are not facing this issue. Does anyone have more insights here ? |
We have a Spring REST API that we want to automatically generate documentation for. We are currently using Springfox in our development environment (no release version has autogenerated documentation yet), but are investigating migrating to Springdoc because Springfox doesn't seem to be going anywhere with Java 11 compatibility. However, our project does not use Spring-Boot. Has this library been tested yet with non-Spring Boot projects?
The text was updated successfully, but these errors were encountered: