coding-kitties / flask-swagger-generator

A simple to use flask swagger generator working with the Flask web framework.
MIT License
6 stars 6 forks source link

Issue#26 : New Feature - Option to add custom tag to group Endpoints #27

Open fizaashraf37 opened 1 year ago

fizaashraf37 commented 1 year ago

Issue#26

User can now specify custom tag for endpoint as in this example:

@generator.path_tag("Test")
@app.route('/objects/<int:object_id>', methods=['PUT'])
def update_object(object_id):
    return jsonify({'id': 1, 'name': 'test_object_name'}), 201
MDUYN commented 1 year ago

Thanks @fizaashraf37. I think you should now be maintainer of the repo. Maybe you can add this to the develop branch and add some tests

fizaashraf37 commented 1 year ago

Test Cases have been added