getSerializableContentTypes

abstract fun <T : Any> getSerializableContentTypes(type: KType): List<ContentType>(source)

used to determine which registered response serializer is used, based on the accept header