title: How to define an error message for an invalid entry for required field in OpenAPI/Swagger?
body: <pre><code>   type: object
      required:  # List the required properties here
        - name
      properties:
        id:
          type: integer
        name:
          type: string
  </code></pre>
  <p>How can I pass an error message when null value is passed for name?</p>