Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

RE : Adding a Validation on Data Model using Swagger

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Employee

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

 

View solution in original post

5 Replies

Avatar

Employee

what kind of validation are you looking for? can you please provide us more details on the use case?

Avatar

Correct answer by
Employee

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

 

Avatar

Level 10

@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?