diff options
Diffstat (limited to 'core/src/main/kotlin/model')
-rw-r--r-- | core/src/main/kotlin/model/doc/DocTag.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/main/kotlin/model/doc/DocTag.kt b/core/src/main/kotlin/model/doc/DocTag.kt index 7698ebb3..a3d88508 100644 --- a/core/src/main/kotlin/model/doc/DocTag.kt +++ b/core/src/main/kotlin/model/doc/DocTag.kt @@ -5,6 +5,10 @@ import org.jetbrains.dokka.model.WithChildren sealed class DocTag : WithChildren<DocTag> { abstract val params: Map<String, String> + + companion object { + fun contentTypeParam(type: String): Map<String, String> = mapOf("content-type" to type) + } } data class A( |