Support @constraint
annotation mapping for Ballerina to OpenAPI
#5109
Labels
Area/BallerinaToOpenapi
Reason/Complex
Issue occurred due to complex scenario.
Reason/MultipleComponentInteraction
Issue occured due to interactions in multiple components.
Type/Improvement
@constraint:Int { minValue: <value>}
@constraint:Int { maxValue: <value>}
@constraint:Int { minValueExclusive: <value>}
@constraint:Int { maxValueExclusive: <value>}
@constraint:Float { minValue: <value>}
@constraint:Float { maxValue: <value>}
@constraint:Float { minValueExclusive: <value>}
@constraint:Float { maxValueExclusive: <value>}
@constraint:Number { minValue: <value>}
@constraint:Number { maxValue: <value>}
@constraint:Number { minValueExclusive: <value>}
@constraint:Number { maxValueExclusive: <value>}
@constraint:String { minLength: <value>}
@constraint:Stringl { maxLength: <value>}
@constraint:Stringl { length: <value>}
@constraint:Array { minLength: <value>}
@constraint:Array { maxLength: <value>}
The text was updated successfully, but these errors were encountered: