zgzgorg / iam-backend

0 stars 2 forks source link

api docs description may be redundant with function docstring #70

Open kis87988 opened 2 years ago

kis87988 commented 2 years ago

Currently, some of the code is written like below:

    @api.doc(
        description="XXX",
    )  
    def post(self) -> None:
        """XXX"""
       ...

We may be able to take out the description keyword to simply this. Currently, some of the code is written like below:

    @api.doc()  
    def post(self) -> None:
        """XXX"""
       ...