我有以下代码
@ns.route('/blah/<query>', methods=['GET'])
@api.doc(params={'query': 'Search ID'})
class myClass(Resource):
@api.doc('blah', responses={ 200: 'OK' })
def get(self, query):
"""Returns list of blah."""
问题是:我怎样才能使获取参数值不是强制性的?