<reponame>feeltheajf/go-raml
# DO NOT EDIT THIS FILE. This file will be overwritten when re-running go-raml.

import handlers


async def deliveries_get(request):
    """
    Get a list of deliveries
    It is handler for GET /deliveries
    """
    return handlers.deliveries_getHandler(request)


async def deliveries_post(request):
    """
    Create/request a new delivery
    It is handler for POST /deliveries
    """
    return handlers.deliveries_postHandler(request)


async def deliveries_deliveryId_get(request, deliveryId):
    """
    Get information on a specific delivery
    It is handler for GET /deliveries/<deliveryId>
    """
    return handlers.deliveries_deliveryId_getHandler(request, deliveryId)


async def deliveries_deliveryId_patch(request, deliveryId):
    """
    Update the information on a specific delivery
    It is handler for PATCH /deliveries/<deliveryId>
    """
    return handlers.deliveries_deliveryId_patchHandler(request, deliveryId)


async def deliveries_deliveryId_delete(request, deliveryId):
    """
    Cancel a specific delivery
    It is handler for DELETE /deliveries/<deliveryId>
    """
    return handlers.deliveries_deliveryId_deleteHandler(request, deliveryId)

# DO NOT EDIT THIS FILE. This file will be overwritten when re-running go-raml.

import handlers


async def deliveries_get(request):
    """
    Get a list of deliveries
    It is handler for GET /deliveries
    """
    return handlers.deliveries_getHandler(request)


async def deliveries_post(request):
    """
    Create/request a new delivery
    It is handler for POST /deliveries
    """
    return handlers.deliveries_postHandler(request)


async def deliveries_deliveryId_get(request, deliveryId):
    """
    Get information on a specific delivery
    It is handler for GET /deliveries/<deliveryId>
    """
    return handlers.deliveries_deliveryId_getHandler(request, deliveryId)


async def deliveries_deliveryId_patch(request, deliveryId):
    """
    Update the information on a specific delivery
    It is handler for PATCH /deliveries/<deliveryId>
    """
    return handlers.deliveries_deliveryId_patchHandler(request, deliveryId)


async def deliveries_deliveryId_delete(request, deliveryId):
    """
    Cancel a specific delivery
    It is handler for DELETE /deliveries/<deliveryId>
    """
    return handlers.deliveries_deliveryId_deleteHandler(request, deliveryId)
# DO NOT EDIT THIS FILE. This file will be overwritten when re-running go-raml. Get a list of deliveries     It is handler for GET /deliveries Create/request a new delivery     It is handler for POST /deliveries Get information on a specific delivery     It is handler for GET /deliveries/<deliveryId> Update the information on a specific delivery     It is handler for PATCH /deliveries/<deliveryId> Cancel a specific delivery     It is handler for DELETE /deliveries/<deliveryId>