def METHOD_NAME(name, required, description):
    return openapi.Parameter(
        name,
        openapi.IN_QUERY,
        description=description,
        required=required,
        type=openapi.TYPE_BOOLEAN
    )