We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3c2171 commit 396e936Copy full SHA for 396e936
src/main/kotlin/com/papsign/ktor/openapigen/annotations/type/string/pattern/RegularExpression.kt
@@ -6,4 +6,4 @@ import com.papsign.ktor.openapigen.validation.ValidatorAnnotation
6
@Target(AnnotationTarget.TYPE, AnnotationTarget.PROPERTY)
7
@SchemaProcessorAnnotation(RegularExpressionProcessor::class)
8
@ValidatorAnnotation(RegularExpressionProcessor::class)
9
-annotation class RegularExpression(val pattern: String, val errorMessage: String = "")
+annotation class RegularExpression(@Language("RegExp") val pattern: String, val errorMessage: String = "")
0 commit comments