in src/main/kotlin/com/compiler/server/controllers/CompilerRestController.kt [112:126]
fun getCompilerArguments(
@RequestParam projectType: ProjectType,
): CompilerArgumentResponse =
CompilerArgumentResponse(
compilerArgumentsService.getCompilerArguments(projectType)
.mapToSetOrEmpty {
CompilerArgumentResponse.CompilerArgument(
it.name,
it.shortName,
it.description,
it.type,
it.disabled,
it.predefinedValues
)
}