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

RE : Adding a Validation on Data Model using Swagger

Avatar

Avatar
Boost 1
Level 1
shamr9141343
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
shamr9141343
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
shamr9141343
Level 1

11-06-2021

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 25
Level 3
gbedekar
Level 3

Likes

26 likes

Total Posts

34 posts

Correct Reply

9 solutions
Top badges earned
Boost 25
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile

Avatar
Boost 25
Level 3
gbedekar
Level 3

Likes

26 likes

Total Posts

34 posts

Correct Reply

9 solutions
Top badges earned
Boost 25
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile
gbedekar
Level 3

11-06-2021

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

 

Answers (3)

Answers (3)

Avatar

Avatar
Boost 1
Level 1
shamr9141343
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
shamr9141343
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
shamr9141343
Level 1

11-06-2021

Like phone number and error message validation

Avatar

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

135 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

135 likes

Total Posts

444 posts

Correct Reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile
workflowuser
Employee

11-06-2021

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

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,139 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

310 likes

Total Posts

1,139 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

17-06-2021

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