Ask a Question

Validating mandatory fields

Validating mandatory fields

Could we add some validation that verifies attributes marked as mandatory are actual attributes present in the data definition. If you make an error when typing these the editor doesn't catch it as an error, the only way to see this is to review the model and verify the mandatory fields are correct. 

 

Quite a simple change but something that has caught me out several times when I've misspelled an attribute or used the wrong case!

2 Comments
borniep
Regular Visitor

I haved the same problem. I have checked in apiary (blueprint tools) and they detect this kind of error. I have lost too much time for me to detect this typo.

TanyaYatskovska
SmartBear Alumni (Retired)
Status changed to: New Idea
 
Announcements
Welcome to the SwaggerHub Feature Requests board!

Here you can review already submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here