Hi ,
I am trying to check if there is a possibility of adding a validation on to the Form data model using swagger file and also if not is there any thing that can be done to use the drag and drop functionality of the FDM with validation on .
Thank You,
Sham.
Solved! Go to Solution.
Views
Replies
Total Likes
I don’t think swagger spec does not allow you to provide validation rules so you will have to do the validation using rule editor
what kind of validation are you looking for? can you please provide us more details on the use case?
Like phone number and error message validation
I don’t think swagger spec does not allow you to provide validation rules so you will have to do the validation using rule editor
@shamr9141343 Swagger does support keywords for length, datatype, so if the requirement is to put a check via swagger in a similar way I doubt you will face any challenge.
https://swagger.io/docs/specification/data-models/data-types/
What's the use case?