def parse_meta(block):
    """
    All we need to do with the meta content is extract the HTTP method and
    endpoint path.

    Originally I uppercased the method here to be consistent with how methods
    are portrayed eg post -> POST but this actually breaks the Swagger/OAS
    spec it seems!

    :param block: string
    :return: dictionary
    """
    meta = block.split(' ')
    return {'method': meta[1], 'path': meta[2]}
