Skip to content

Remove @EnableWebMvc from SwaggerConfig #291

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

Merged
merged 1 commit into from
Dec 23, 2019

Conversation

Aloren
Copy link

@Aloren Aloren commented Dec 23, 2019

Remove @EnableWebMvc from org.springdoc.ui.SwaggerConfig as not needed for Spring Boot Web Mvc applications.

fixes #236 #150

@Aloren
Copy link
Author

Aloren commented Dec 23, 2019

@springdoc probably smth is broken in configuration for sonar as the build fails with:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project springdoc-openapi: Failed to deploy artifacts: Could not transfer artifact org.springdoc:springdoc-openapi:pom:1.2.20-20191223.174348-3 from/to ossrh (https://oss.sonatype.org/content/repositories/snapshots): Failed to transfer file https://oss.sonatype.org/content/repositories/snapshots/org/springdoc/springdoc-openapi/1.2.20-SNAPSHOT/springdoc-openapi-1.2.20-20191223.174348-3.pom with status code 401 -> [Help 1]

I've run all the tests locally and the build is green.

@springdoc springdoc merged commit b362acc into springdoc:master Dec 23, 2019
@springdoc
Copy link
Collaborator

Thank you @Aloren for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use of @EnableWebMvc in app breaks swagger-ui.html redirect
2 participants