def alias_name():
    """
    Returns list of alias name by query paramaters
    ---

    tags:

      - Query functions

    parameters:

      - name: alias_name
        in: query
        type: string
        required: false
        description: 'Other names used to refer to a gene'
        default: 'peptidase nexin-II'

      - name: is_previous_name
        in: query
        type: boolean
        required: false
        description: 'Other names used to refer to a gene'
        default: false

      - name: hgnc_symbol
        in: query
        type: string
        required: false
        description: 'HGNC symbol'
        default: APP

      - name: hgnc_identifier
        in: query
        type: integer
        required: false
        description: 'HGNC identifier'
        default: 620

      - name: limit
        in: query
        type: integer
        required: false
        default: 1
    """
    allowed_str_args = ['alias_name', 'hgnc_symbol', 'hgnc_identifier']

    allowed_int_args = ['limit', ]

    allowed_bool_args = ['is_previous_name', ]

    args = get_args(
        request_args=request.args,
        allowed_int_args=allowed_int_args,
        allowed_str_args=allowed_str_args,
        allowed_bool_args=allowed_bool_args,
    )

    return jsonify(query.alias_name(**args))