title: How to write API documentation using flasgger when my function has multiple http methods (GET, POST) in it?
body: <p>I am using flasgger to write my API documentation, one of my function has both GET and POST method.The problem is that flasgger is not able to differentiate between the GET and the POST method. I have written the code only for the post method but it is also associating that code with the GET method</p>
  
  <p>I have attached the image showing the code i have written, as u can see that here I have written code which was meant only for the POST method but it is associating it with the GET method too as shown in the 2nd pic.</p>
  
  <p><a href="https://i.stack.imgur.com/rzW16.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rzW16.jpg" alt="enter image description here"></a></p>
  
  <p>This image shows the swagger UI for the GET and POST method. AS you can see that for the GET method it is showing the same results as that for the POST method even though I haven't written anything for GET method.</p>
  
  <p><a href="https://i.stack.imgur.com/KzUbJ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KzUbJ.jpg" alt="enter image description here"></a></p>
  
  <p>I want to use the docstring way to integrate swagger into my code what should I do? </p>