com.ancientlightstudios.example.features.server.ValidationUtils.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-kotlin-openapi-test Show documentation
Show all versions of quarkus-kotlin-openapi-test Show documentation
An example application using the Kotlin OpenAPI generator.
package com.ancientlightstudios.example.features.server
import com.ancientlightstudios.example.features.server.model.OperationError
import com.ancientlightstudios.quarkus.kotlin.openapi.ValidationError
fun List.toOperationError() = OperationError(map { "${it.path}: ${it.message}" })
© 2015 - 2025 Weber Informatics LLC | Privacy Policy