title: Value Error Missing when using POST with FastAPI
body: <p>I'm building a simple API with FastAPI using the official documentation, but when I try to test it with postman I get the same error:</p>
  <pre><code>pydantic.error_wrappers.ValidationError
  </code></pre>
  <p>Here is my model:</p>
  <pre><code>class Owner(BaseModel):
    name: str
    address: str
    status: int
  </code></pre>
  <p>My endpoint:</p>
  <pre><code>@app.post('/api/v1/owner/add', response_model=Owner)
  async def post_owner(owner: Owner):
     return conn.insert_record(settings.DB_TABLE_OWN, owner)
  </code></pre>
  <p>And my method to insert it to the database (RethinkDB)</p>
  <pre><code>@staticmethod
  def insert_record(table, record):
      try:
          return DBConnection.DB.table(table).insert(record.json()).run()
      except RqlError:
          return {'Error': 'Could not insert record'}
  </code></pre>
  <p>This is the JSON I send using postman:</p>
  <pre><code>{
    &quot;name&quot;: &quot;Test&quot;,
    &quot;address&quot;: &quot;Test address&quot;,
    &quot;status&quot;: 0
  }
  </code></pre>
  <p>The error I get is the following:</p>
  <pre><code>pydantic.error_wrappers.ValidationError: 3 validation errors for Owner
  response -&gt; name
    field required (type=value_error.missing)
  response -&gt; address
    field required (type=value_error.missing)
  response -&gt; status
    field required (type=value_error.missing)
  </code></pre>
  <p>I gotta say that it was running fine until I stopped the server and got it running again.</p>
  <p>Hope you can help me!</p>