src/swagger2x.py
def ishasbody(method):
    """
    check if the method can have an body: e.g. put, post and patch
    :param method: (get, put, post, ....)
    :return:
    """
    if method in ["put", "post", "patch"]:
        return True
    return False

    check if the method can have an body: e.g. put, post and patch
    :param method: (get, put, post, ....)
    :return:
    
check if the method can have an body: e.g. put, post and patch
check if the method can have an body : e . g . put post and patch
def ishasbody(method):
    if method in ["put", "post", "patch"]:
        return True
    return False
def ishasbody ( method ) : if method in [ "put" , "post" , "patch" ] : return True return False
check if the method can have an body: e.g.
check if the method can have an body : e . g .
"""
    check if the method can have an body: e.g. put, post and patch
    :param method: (get, put, post, ....)
    :return:
    """
None
method
None