documentation and swagger done for jobs endpoint