anchor.diff:              parameter.location != 'query'));
         }
   
  +      Comment parameterComment(JsonSchema parameter) {
  +        var sb = new StringBuffer();
  +        sb.write(parameter.description);
  +
  +        var min = parameter.minimum;
  +        var max = parameter.maximum;
  +        if (min != null && max != null) {
  +          sb.write('\nValue must be between "$min" and "$max".');
  +        }
  +        if (parameter.pattern != null) {
  +          sb.write('\nValue must have pattern "${parameter.pattern}".');
  +        }
  +        return new Comment('$sb');
  +      }
  +
         DartSchemaType getValidReference(String ref) {
           var type = db.namedSchemaTypes[ref];
           if (type == null) {
  
positive.code:                 description.version,
                  'Parameters for method $jsonName does not have a type!');
            }
            var comment = new Comment(method.parameters[jsonName].description);
  
            tryEnqueuePositionalParameter(
                jsonName, comment, method.parameters[jsonName]);
  
negative.code: 
        // The remaining parameters are optional.
        for (var jsonName in pendingParameterNames) {
          var comment = parameterComment(method.parameters[jsonName]);
          enqueueOptionalParameter(
              jsonName, comment, method.parameters[jsonName]);
        }
  