Skip to content

Commit e647f13

Browse files
committed
enable detekt UndocumentedPublicProperty rule and add kdoc skill
1 parent ebfa6ba commit e647f13

1 file changed

Lines changed: 7 additions & 19 deletions

File tree

kotlin-sdk-server/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/server/StreamableHttpServerTransport.kt

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -125,26 +125,14 @@ public class StreamableHttpServerTransport(private val configuration: Configurat
125125
/**
126126
* Configuration options for [StreamableHttpServerTransport].
127127
*
128-
* @property enableJsonResponse Determines whether the server should return JSON responses.
129-
* Defaults to `false`.
130-
*
131-
* @property enableDnsRebindingProtection Enables DNS rebinding protection.
132-
* Defaults to `false`.
133-
*
134-
* @property allowedHosts A list of hosts allowed for server communication.
135-
* Defaults to `null`, allowing all hosts.
136-
*
137-
* @property allowedOrigins A list of allowed origins for CORS (Cross-Origin Resource Sharing).
138-
* Defaults to `null`, allowing all origins.
139-
*
140-
* @property eventStore The `EventStore` instance for handling resumable events.
141-
* Defaults to `null`, disabling resumability.
142-
*
143-
* @property retryInterval Retry interval for event handling or reconnection attempts.
144-
* Defaults to `null`.
145-
*
128+
* @property enableJsonResponse when `true`, returns direct JSON responses instead of SSE streams
129+
* @property enableDnsRebindingProtection enables DNS rebinding protection
130+
* @property allowedHosts list of hosts allowed for server communication, or `null` to allow all
131+
* @property allowedOrigins list of allowed CORS origins, or `null` to allow all
132+
* @property eventStore store for resumable events, or `null` to disable resumability
133+
* @property retryInterval retry interval for SSE reconnection attempts
146134
* @property maxRequestBodySize Maximum allowed size (in bytes) for incoming request bodies.
147-
* Defaults to 4 MB (4,194,304 bytes).
135+
* Defaults to 4 MB (4,194,304 bytes).
148136
*/
149137
public class Configuration(
150138
public val enableJsonResponse: Boolean = false,

0 commit comments

Comments
 (0)