codeforcauseorg / edu-server

MIT License
43 stars 51 forks source link

Documentation of Doubts and DoubtsAnswer endpoints #124

Closed Devesh21700Kumar closed 3 years ago

Devesh21700Kumar commented 3 years ago

Add API endpoint documentation for doubts and doubtAnswers

1). adds APIPARAMS of courseid, doubtId, doubtAnswerId 2). add responsedoc 3). filled the example values for both doubts and doubt answer in for the swagger documentation 4). Add Api operations as well 5). Also added exclusion of get requests from doubs path from middleware 6). add isUpcoming to be returned for cards as well

Type of Change:

How Has This Been Tested?

Terminal commands to test code:- 1). npm run lint 2). npm run lint:fix 3). nest start 4). npm run test

Checklist