-
Notifications
You must be signed in to change notification settings - Fork 354
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
Swagger2 with springRESTAPI #14
Comments
Did you figure out your problem? |
Yes Dilip , I got your advice in gitter and fixed it , the problem is wrong annotations ,you can close this issue and thank you for the help |
👍 |
Closed
@adorearun What exactly was the fix here? |
@niculistana user error. If you have a specific bug please use a new issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a Spring Rest controller and its NOT spring boot application. Its just a REST API Project. I want to integrate swagger2 in my project. I tried all the examples in Net and in demo but with no luck. When i try to execute http://localhost:8085/context/swagger-ui.html i get 404 error. Please find my confugration below and let me know if there is any discrepencies. Any help is highly appreciated.
jars - under /WEB-INF/lib
google-collections-1.0.jar
springfox-core-2.2.2.jar
springfox-schema-2.2.2.jar
springfox-spi-2.2.2.jar
springfox-spring-web-2.2.2.jar
springfox-staticdocs-2.2.2.jar
springfox-swagger-common-2.2.2.jar
springfox-swagger-ui-2.2.2.jar
springfox-swagger2-2.2.2.jar
my swagger config class -
my springconfig class
and Application Initializer class
I have my Rest configuration in /WEB-INF/spring/rest-servlet.xml
I can access my rest urls but not swagger-ui.html .
Please let me know what i am missing here?
The text was updated successfully, but these errors were encountered: