removed middleware duplicate from api doc