File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
springdoc-openapi-common/src/main/java/org/springdoc/core Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments