Skip to content

Commit 23c8518

Browse files
authored
docs: Fix broken server docs generation (tolgee#2491)
1 parent 5ce2459 commit 23c8518

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

backend/data/src/main/kotlin/io/tolgee/configuration/tolgee/ContentDeliveryCloudflareProperties.kt

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,20 @@ class ContentDeliveryCloudflareProperties(
1111
var urlPrefix: String? = null,
1212
var zoneId: String? = null,
1313
@DocProperty(
14-
"If cache is filled with specific Origin header, it can be purged only if the purge request " +
15-
"specifies the same Origin header. Here you can specify comma separated list of origins." +
16-
"\n" +
17-
"e.g. `https://example.com,https://example2.com`" +
18-
"\n\n" +
19-
"Read more in the Cloudflare " +
20-
"[docs](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-single-file/).",
14+
description =
15+
"If cache is filled with specific Origin header, it can be purged only if the purge request " +
16+
"specifies the same Origin header. Here you can specify comma separated list of origins." +
17+
"\n" +
18+
"e.g. `https://example.com,https://example2.com`" +
19+
"\n\n" +
20+
"Read more in the Cloudflare " +
21+
"[docs](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-single-file/).",
2122
)
2223
var origins: String? = null,
2324
@DocProperty(
24-
"Number of paths to purge in one request. " +
25-
"(Cloudflare limit is 30 now, but it might be subject to change)",
25+
description =
26+
"Number of paths to purge in one request. " +
27+
"(Cloudflare limit is 30 now, but it might be subject to change)",
2628
)
2729
var maxFilesPerRequest: Int = 30,
2830
) : ContentDeliveryPurgingConfig {

0 commit comments

Comments
 (0)