title: Deserialize enum ignoring case in Spring Boot controller
body: <p>I have Spring Boot endpoint which has enum as query param:</p>
  
  <pre><code>@GetMapping("/example")
  public List&lt;Example&gt; getByEnum(@RequestParam(name = "exampleEnum", required = false) ExampleEnum exampleEnum) {
      // code
  }
  </code></pre>
  
  <p>And enum class:</p>
  
  <pre><code>public enum ExampleEnum {
      FIRST,
      SECOND,
  }
  </code></pre>
  
  <p>If I pass uppercase enum value to the endpoit, it deserializes well but it throws error for lowercase:</p>
  
  <pre><code>java.lang.IllegalArgumentException: No enum constant 
  </code></pre>
  
  <p>How to deserialize enum ignoring case in Spring Boot Rest endpoint? </p>
  
  <p>This question is not duplicate because it's related to query param deserialization. </p>