fun testKotlinProjectEndpoint()

in src/main/kotlin/com/compiler/server/controllers/CompilerRestController.kt [49:60]


    fun testKotlinProjectEndpoint(
        @RequestBody @Valid request: TestRequest,
        @RequestParam(defaultValue = "false") addByteCode: Boolean,
    ): ExecutionResult {
        return kotlinProjectExecutor.test(
            Project(
                args = request.args,
                files = request.files.map { ProjectFile(name = it.name, text = it.text) },
                compilerArguments = listOf(request.compilerArguments)
            ), addByteCode
        )
    }