Girl-Code-It / Opportunity-Calendar-Backend

Opportunity Calendar is the one-stop place to refer important opportunities available in tech-space like newly posted jobs, internships, hackathons, tech-conferences, scholarships, etc.
https://opportunity-calendar.herokuapp.com/
MIT License
15 stars 30 forks source link

Swagger post api #24

Closed Haneesha123 closed 3 years ago

Haneesha123 commented 3 years ago

Documented POST API using swagger

rohithmsr commented 3 years ago

@Haneesha123 , I have resolved the issue #16 and my PR has been merged. I guess your file is conflicting becoz I changed the order router.post() below router.get inorder to get correct order in swagger.

That is GET and then POST IMG_20210324_231427

So @Haneesha123 , jus clone the branch which has my PR merged and just replace that swagger code for router.post by your post code for swagger

Hope you got what I said

Haneesha123 commented 3 years ago

Yeah, got it. Thank you @rohithmsr