flask-restplus
flask-restplus copied to clipboard
The name of the body can only be called payload?
In the generated document, the name of the body can only be called payload? I want change the name to make more sense.
@au.route('/authenticate')
@au.response(400, 'params error')
class Authenticate(Resource):
@au.doc('Get a accessToken')
@au.doc(body=auth)
@au.marshal_with(token)
def post(self):
Thank you for using Flask-RESTPlus, however I am unsure exactly what the issue is here. Could you please provide an example of the current behaviour and an example of the desired behaviour?
I think he is referring to the payload
in SwaggerUI:
any a solution for this?