How to create custom validation rules

14 views
Skip to first unread message

andy lea

unread,
Mar 16, 2018, 1:52:38 PM3/16/18
to Swagger

Hi,



Is there a way of adding custom validation rules into swagger that will apply in the editor and via swagger-cli?


For example:


Parameters should be specified at the level of the path method, not at the level of the path

Definition Names must be UpperCamelCase

A naming convention on the filenames we create

We need to disallow use of the term allOf




We are using stagger version 2



Thanks in advance,


Andy Lea
Reply all
Reply to author
Forward
0 new messages