code: private void addBodyToAction(ControllerRouteModel<Raml> elem, Action action) {
          action.setBody(new LinkedHashMap<String, MimeType>(elem.getBodyMimes().size()));
  
          //the samples must be define in the same order as the accept!
          Iterator<String> bodySamples = elem.getBodySamples().iterator();
  
          for (String mime : elem.getBodyMimes()) {
              MimeType mimeType = new MimeType(mime);
              if (bodySamples.hasNext()) {
                  mimeType.setExample(bodySamples.next());
              }
              action.getBody().put(mime, mimeType);
          }
      }
docs: Add the body specification to the given action.
  <p>
  <p>
  Body can contain one example for each content-type supported. The example must be define in the same order as
  the content-type.
  <p>
  </p>
  
  @param elem   The ControllerRouteModel that contains the body specification.
  @param action The Action on which to add the body specification.