Skip to content

Commit 06b6e12

Browse files
committed
update config auto-completion for syntax-highlight
1 parent 01d59e4 commit 06b6e12

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ public void setVersion(String version) {
8282
*/
8383
private Csrf csrf = new Csrf();
8484

85+
/**
86+
* The Syntax Highlight configuration.
87+
*/
88+
private SyntaxHighlight syntaxHighlight = new SyntaxHighlight();
89+
8590
/**
8691
* Whether to generate and serve an OpenAPI document.
8792
*/
@@ -384,4 +389,21 @@ public void setTheme(String theme) {
384389
}
385390
}
386391

392+
/**
393+
* Gets syntaxHighlight.
394+
*
395+
* @return the syntaxHighlight
396+
*/
397+
public SyntaxHighlight getSyntaxHighlight() {
398+
return syntaxHighlight;
399+
}
400+
401+
/**
402+
* Sets syntaxHighlight.
403+
*
404+
* @param syntaxHighlight the syntaxHighlight
405+
*/
406+
public void setSyntaxHighlight(SyntaxHighlight syntaxHighlight) {
407+
this.syntaxHighlight = syntaxHighlight;
408+
}
387409
}

0 commit comments

Comments
 (0)