Commenting style guide for restful apis in django / flask
Question:
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?
Answers:
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?