![JAR search and dependency download from the Maven repository](/logo.png)
com.ancientlightstudios.quarkus.kotlin.openapi.inspection.SchemaInspection.kt Maven / Gradle / Ivy
package com.ancientlightstudios.quarkus.kotlin.openapi.inspection
import com.ancientlightstudios.quarkus.kotlin.openapi.models.transformable.TransformableSchema
import com.ancientlightstudios.quarkus.kotlin.openapi.models.transformable.components.SchemaComponent
class SchemaInspection(val schema: TransformableSchema) {
inline fun components(block: ComponentInspection.() -> Unit) {
schema.components.filterIsInstance().forEach { ComponentInspection(it).block() }
}
}
fun TransformableSchema.inspect(block: SchemaInspection.() -> Unit) =
SchemaInspection(this).block()
© 2015 - 2025 Weber Informatics LLC | Privacy Policy