All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cc.unitmesh.processor.api.base.ApiDetailRender.kt Maven / Gradle / Ivy

package cc.unitmesh.processor.api.base

interface ApiDetailRender {
    fun render(apiCollections: List): String {
        val apiDetailsByTag = apiCollections.map { renderCollection(it) }.filter {
            it.isNotBlank()
        }
        return apiDetailsByTag.joinToString("\n\n") { it }
    }

    fun renderCollection(collection: ApiCollection): String
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy