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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

RE : Adding a Validation on Data Model using Swagger

shamr9141343
Level 2
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
gbedekar
Correct answer by
Level 4
Level 4

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
workflowuser
Employee
Employee

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

gbedekar
Correct answer by
Level 4
Level 4

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

Mayank_Gandhi
Community Advisor
Community Advisor

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