![JAR search and dependency download from the Maven repository](/logo.png)
com.ancientlightstudios.quarkus.kotlin.openapi.refactoring.DeleteSchemaRefactoring.kt Maven / Gradle / Ivy
package com.ancientlightstudios.quarkus.kotlin.openapi.refactoring
import com.ancientlightstudios.quarkus.kotlin.openapi.models.transformable.TransformableSchema
class DeleteSchemaRefactoring(private val current: TransformableSchema) : SpecRefactoring {
override fun RefactoringContext.perform() {
// TODO: maybe check if there is still something pointing to this schema (see SwapSchemaRefactoring)
spec.schemas -= current
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy