Skip to content

Commit

Permalink
Update description for ENUM_MISMATCH error code. (Azure#16351)
Browse files Browse the repository at this point in the history
  • Loading branch information
raych1 authored Oct 12, 2021
1 parent 5ee7c98 commit 53f959c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/Semantic-and-Model-Violations-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -588,11 +588,11 @@ This document lists the set of automated rules that can be validated against swa

### <a name="ENUM_MISMATCH" />ENUM_MISMATCH

**Output Message**: Enum does not match case for:{0}.
**Output Message**: Enum does not match for:{0}.

**Description**: The enum value provided in example or in traffic payload doesn't match the case of an allowed value.
**Description**: The enum value provided in example or in traffic payload doesn't match an allowed value.

**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.
**How to fix the violation**: The error info has the position of swagger. Look for the violation location of the swagger, correct the value in example or in traffic payload.

### <a name="READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST" />READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST

Expand Down

0 comments on commit 53f959c

Please sign in to comment.