I have a REST endpoint which accepts and Id and an object as input parameter. I have documented it as follows :
/api/examsession/end: post: tags: - Exam