Vojtěch Knyttl
04/09/2021, 6:34 PMreturning(Status.OK, Body.string(ContentType.TEXT_PLAIN).toLens() to "example string")
dave
04/09/2021, 6:44 PMVojtěch Knyttl
04/09/2021, 6:45 PMRazvan
04/09/2021, 6:56 PMOpenApi3.kt
that does that:
private fun List<HttpMessageMeta<Response>>.collectSchemas() = groupBy { CONTENT_TYPE(it.message) }
.filterKeys { it == APPLICATION_JSON }