Spring Boot 2 + Springdoc Swagger UI How to settings with Intellij IDEA Settings → Editor → Code Style → Enable editorconfig support Import Scheme → Checkstyle configuration → checkstyle.xml in project folder Install CheckStyle Plugin → Add checkstyle.xml and activate Dependencies spring-security-oauth2-autoconfigure springdoc-openapi v1.7.0