Is there any de-facto commenting style for restful api classes or functions? If there's no such, then how do I apply google / sphinx commenting style to rest apis?
For example, how do I write comment for
class MyListAPI(APIView):
def get(self, request, **kwargs):
...
if the api takes some query string parameters?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.