Skip to content

Commit 83a22f8

Browse files
committed
code cleanup. Fixes #1379.
1 parent c9f7cef commit 83a22f8

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

springdoc-openapi-common/src/main/java/org/springdoc/core/AbstractSwaggerUiConfigProperties.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import java.util.Set;
2626

2727
import com.fasterxml.jackson.annotation.JsonProperty;
28-
import org.springdoc.core.SwaggerUiConfigProperties.SyntaxHighlight;
2928

3029
import static org.springdoc.core.Constants.GROUP_NAME_NOT_NULL;
3130

@@ -155,11 +154,6 @@ public abstract class AbstractSwaggerUiConfigProperties {
155154
*/
156155
protected String urlsPrimaryName;
157156

158-
/**
159-
* The Syntax highlight.
160-
*/
161-
protected SyntaxHighlight syntaxHighlight;
162-
163157
/**
164158
* Try it out enabled
165159
*/
@@ -227,24 +221,6 @@ public void setPersistAuthorization(Boolean persistAuthorization) {
227221
this.persistAuthorization = persistAuthorization;
228222
}
229223

230-
/**
231-
* Gets syntax highlight.
232-
*
233-
* @return the syntax highlight
234-
*/
235-
public SyntaxHighlight getSyntaxHighlight() {
236-
return syntaxHighlight;
237-
}
238-
239-
/**
240-
* Sets syntax highlight.
241-
*
242-
* @param syntaxHighlight the syntax highlight
243-
*/
244-
public void setSyntaxHighlight(SyntaxHighlight syntaxHighlight) {
245-
this.syntaxHighlight = syntaxHighlight;
246-
}
247-
248224
/**
249225
* Gets urls.
250226
*

springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiConfigParameters.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ public SwaggerUiConfigParameters(SwaggerUiConfigProperties swaggerUiConfig) {
122122
this.urls = swaggerUiConfig.getUrls() == null ? new HashSet<>() : swaggerUiConfig.getUrls();
123123
this.urlsPrimaryName = swaggerUiConfig.getUrlsPrimaryName();
124124
this.groupsOrder = swaggerUiConfig.getGroupsOrder();
125-
this.syntaxHighlight = swaggerUiConfig.getSyntaxHighlight();
126125
this.tryItOutEnabled = swaggerUiConfig.getTryItOutEnabled();
127126
this.persistAuthorization = swaggerUiConfig.getPersistAuthorization();
128127
this.queryConfigEnabled = swaggerUiConfig.getQueryConfigEnabled();

0 commit comments

Comments
 (0)