code: def add_parameter(self, location='query', **kwargs):
          
          kwargs.setdefault('in', location)
          if kwargs['in'] != 'body':
              kwargs.setdefault('type', 'string')
          self['parameters'].append(kwargs)
docs: Adds a new parameter to the request
          :param location: the 'in' field of the parameter (e.g: 'query',
              'body', 'path')