Forum Discussion

abernabero's avatar
abernabero
New Contributor
4 years ago

Custom standarization rule: a field must exist and be a non-empty string

Hi everybody, Anybody knows how it can be created a custom rule in the same style of the "API title must be present and non-empty string"? If I enable the check "Path exist" the field "Must match" i...
  • mhiggins's avatar
    4 years ago

    You are correct. Your “rule” requires both custom rules. First that it must exist and then second to apply the regex. 

    Many of the “canned” SwaggerHub rules are not actually path/regex formed rules.