Functions

Link copied to clipboard
abstract fun <T> getMediaType(type: KType, apiGen: OpenAPIGen, provider: ModuleProvider<*>, example: T?, usage: ContentTypeProvider.Usage): Map<ContentType, MediaTypeModel<T>>?

Done once when routes are created, for request object and response object

Link copied to clipboard
abstract fun <T : Any> getParseableContentTypes(type: KType): List<ContentType>
Link copied to clipboard
abstract suspend fun <T : Any> parseBody(clazz: KType, request: RoutingContext): T