title: FastAPI Custom Error Handling Broke Automatic Documentation
body: <p><strong>For our requirements, I made the following changes</strong></p>
  
  <ul>
  <li>I updated the input validation exception code from 422 to 400.</li>
  <li>I also modified the default Json error output.</li>
  </ul>
  
  <p><strong>My issue</strong></p>
  
  <p>My FastAPI generated automatic documentation is sill showing default error code and error message format.</p>
  
  <p><strong>My Question</strong></p>
  
  <p>Is it possible to update the API documentation to reflect my change like the correct error code and the right error output format?</p>