-
Notifications
You must be signed in to change notification settings - Fork 32
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
EPMRPP-86945 ||Check application name into Swagger base-path #279
EPMRPP-86945 ||Check application name into Swagger base-path #279
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@@ -89,6 +89,9 @@ public PathProvider rpPathProvider() { | |||
return new RelativePathProvider(servletContext) { | |||
@Override | |||
public String getApplicationBasePath() { | |||
if (super.getApplicationBasePath().contains(applicationName)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains a tab character.
@@ -89,6 +89,9 @@ public PathProvider rpPathProvider() { | |||
return new RelativePathProvider(servletContext) { | |||
@Override | |||
public String getApplicationBasePath() { | |||
if (super.getApplicationBasePath().contains(applicationName)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'if' has incorrect indentation level 32, expected level should be one of the following: 20, 22, 24.
@@ -89,6 +89,9 @@ public PathProvider rpPathProvider() { | |||
return new RelativePathProvider(servletContext) { | |||
@Override | |||
public String getApplicationBasePath() { | |||
if (super.getApplicationBasePath().contains(applicationName)) { | |||
return super.getApplicationBasePath(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains a tab character.
@@ -89,6 +89,9 @@ public PathProvider rpPathProvider() { | |||
return new RelativePathProvider(servletContext) { | |||
@Override | |||
public String getApplicationBasePath() { | |||
if (super.getApplicationBasePath().contains(applicationName)) { | |||
return super.getApplicationBasePath(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'if' child has incorrect indentation level 40, expected level should be one of the following: 22, 24, 26.
@@ -89,6 +89,9 @@ public PathProvider rpPathProvider() { | |||
return new RelativePathProvider(servletContext) { | |||
@Override | |||
public String getApplicationBasePath() { | |||
if (super.getApplicationBasePath().contains(applicationName)) { | |||
return super.getApplicationBasePath(); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains a tab character.
@@ -89,6 +89,9 @@ public PathProvider rpPathProvider() { | |||
return new RelativePathProvider(servletContext) { | |||
@Override | |||
public String getApplicationBasePath() { | |||
if (super.getApplicationBasePath().contains(applicationName)) { | |||
return super.getApplicationBasePath(); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'if rcurly' has incorrect indentation level 32, expected level should be one of the following: 20, 22, 24.
Add a check to avoid duplicate names in a path like this: /uat/uat