How would one go about adding different documentation for each method of the same endpoint?
For example, this code:
@app.route('/some/endpoint', methods=['PUT', 'GET'])
def some_path():
"""
Some Endpoint
---
tags:
- some endpoint
responses:
200:
description: success
"""
(...)
will generate the same documentation for both PUT and GET methods.
How can I specify a particular definition for each method?