title: RAML 1.0 File Upload Definition
body: <p>In the RAML tutorial found on the official page (<a href="http://raml.org/developers/raml-200-tutorial#body-parameters" rel="nofollow">http://raml.org/developers/raml-200-tutorial#body-parameters</a>), a definition for a file upload looks like follows:</p>
  
  <pre><code>/file-content:
    post:
    description: bla
    body:
      multipart/form-data:
        formParameters:
          file:
            description: The file to be uploaded
            required: true
            type: file
  </code></pre>
  
  <p>However, this seems only to work for RAML 0.8, but not 1.0. The "What's New" section of 1.0 also contains this text: "Uniformly covers bodies, URI parameters, headers, and query parameters and eliminates the need for a separate formParameters construct". (<a href="https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md/#whats-new-and-different-in-raml-10" rel="nofollow">https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md/#whats-new-and-different-in-raml-10</a>)</p>
  
  <p>So it seems the whole thing has changed, but I can't find an example about this, and I don't understand how I can migrate the example for fileupload to a working 1.0 example. Any ideas?</p>