docs(API): fix the mess-up in the nested middleware