     protagonist.parse source, @config, (error, result) =>
       return callback error if error
 
-      if !EXPAND_TYPES
+      unless EXPAND_TYPES is true
         return callback null, result
 
       ruleList = ['mson-inheritance', 'mson-mixin', 'mson-member-type-name']

# @param attributes [Object] Payload attributes object
# @param contentType [Object] Payload content type
generateSchema = (payload, attributes, contentType, callback) ->
  if !GENERATE_SCHEMA or (not attributes? or payload.schema or contentType.indexOf('json') is -1)
    return callback null, payload, attributes, contentType

  boutique.represent
    ast: attributes,

      payload.content.push resolved
      payload.schema = body

    callback null

#
# Drafter
