You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -539,7 +538,7 @@ This document lists the set of automated rules that can be validated against swa
539
538
540
539
**Output Message**: This operation does not have a defined {0} response code.
541
540
542
-
**Description**: The specified response code is not defined in example file.
541
+
**Description**: The specified response code is not defined in example file or in traffic payload.
543
542
544
543
**How to fix the violation**: Add response code to default, or add response code definition in the swagger.
545
544
@@ -555,9 +554,9 @@ This document lists the set of automated rules that can be validated against swa
555
554
556
555
**Output Message**: Additional properties not allowed:{0}.
557
556
558
-
**Description**: Additional property {0} defined in example but not defined in swagger spec. It could be the property name does not match exactly.
557
+
**Description**: Additional property {0} defined in example or in traffic payload but not defined in swagger spec. It could be the property name does not match exactly.
559
558
560
-
**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, ensure the property name specified in example appears exact the same in the definition or remove this property from example if it's not defined in swagger spec. Remind all the characters are case sensitive.
559
+
**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, ensure the property name specified in example or in traffic payload appears exact the same in the definition or remove this property from example or from traffic payload if it's not defined in swagger spec. Remind all the characters are case sensitive.
561
560
562
561
563
562
### <aname="INVALID_FORMAT" />INVALID_FORMAT
@@ -574,43 +573,43 @@ This document lists the set of automated rules that can be validated against swa
574
573
575
574
**Description**: The type provided for the property doesn't match to the defined type.
576
575
577
-
**How to fix the violation**: Correct the type defined in example file. Sometimes this could be false positive when it peers with other errors which belongs to same parent `ANY_OF_MISSING` error or `ONE_OF_MISSING` error, in this case this error can be ignored and just fix other peer errors eventually this error will be cleared out automatically.
576
+
**How to fix the violation**: Correct the type defined in example file or in traffic payload. Sometimes this could be false positive when it peers with other errors which belongs to same parent `ANY_OF_MISSING` error or `ONE_OF_MISSING` error, in this case this error can be ignored and just fix other peer errors eventually this error will be cleared out automatically.
**Output Message**: Enum does not match case for:{0}.
582
581
583
-
**Description**: The enum value provided in exmaple doesn't match the case of an allowed value.
582
+
**Description**: The enum value provided in exmaple or in traffic payload doesn't match the case of an allowed value.
584
583
585
-
**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, correct the value case in example.
584
+
**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, correct the value case in example or in traffic payload.
586
585
587
586
### <aname="ENUM_MISMATCH" />ENUM_MISMATCH
588
587
589
588
**Output Message**: Enum does not match case for:{0}.
590
589
591
-
**Description**: The enum value provided in exmaple doesn't match the case of an allowed value.
590
+
**Description**: The enum value provided in exmaple or in traffic payload doesn't match the case of an allowed value.
592
591
593
-
**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, correct the value case in example.
592
+
**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, correct the value case in example or in traffic payload.
**Description**: The property {0} is required and has to provide in request or response of example.
606
+
**Description**: The property {0} is required and has to provide in request or response of example (or of traffic payload).
608
607
609
-
**How to fix the violation**: Provide the requried property in example or remove this property from the required list of the definition in swagger spec. Or add items property if the type is array.
608
+
**How to fix the violation**: Provide the requried property in example(or in traffic payload) or remove this property from the required list of the definition in swagger spec. Or add items property if the type is array.
0 commit comments