Régis Behmo
dac393e9e7
Auto-document API endpoints using view function docstring
...
The `swagger_auto_schema` view function decorator allows us to
auto-document API endpoints. All swagger arguments are passed as kwargs
to the decorator, but this feels a bit unnatural: we would like to use
the function documentation as the endpoint summary and description. We
introduce this feature here by reading the `__doc_`_attribute of the
view function.
2019-10-14 08:14:08 +02:00
..
2019-09-25 18:31:54 +05:00
2019-10-11 12:44:54 +05:00
2019-09-30 08:51:01 -04:00
2019-09-30 08:51:02 -04:00
2019-09-26 10:53:55 -04:00
2019-10-14 08:14:08 +02:00
2019-09-26 09:40:15 -04:00
2019-09-26 09:40:15 -04:00
2019-10-07 10:55:11 +05:00
2019-09-26 09:40:15 -04:00
2019-09-25 18:31:54 +05:00
2019-09-30 08:50:38 -04:00
2019-10-11 13:01:47 +05:00
2019-09-26 09:40:15 -04:00
2019-09-30 08:51:02 -04:00
2019-05-21 11:37:47 -04:00
2019-09-30 08:51:02 -04:00
2019-09-30 08:50:38 -04:00
2019-09-26 18:01:25 +05:00
2019-09-27 11:45:40 -04:00
2019-09-26 09:40:15 -04:00
2019-10-10 12:13:07 -04:00
2019-10-10 20:06:08 +05:00
2019-09-26 09:40:15 -04:00
2019-10-11 15:44:42 -04:00
2019-09-19 16:18:23 -04:00
2019-05-15 15:21:57 -04:00
2019-08-19 12:16:39 -04:00
2019-09-26 09:40:15 -04:00
2019-05-16 10:00:42 -04:00
2019-09-30 08:50:38 -04:00
2019-09-26 09:40:15 -04:00
2019-09-25 10:55:43 -04:00
2019-09-08 13:34:52 +03:00
2019-09-30 08:51:02 -04:00
2019-09-30 08:50:38 -04:00
2019-09-26 09:40:15 -04:00
2019-09-26 09:40:15 -04:00
2019-09-30 08:51:02 -04:00
2019-09-30 08:50:38 -04:00
2019-05-15 15:36:52 -04:00
2019-09-30 08:51:02 -04:00
2019-06-21 16:39:24 +05:00