mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 00:49:49 +03:00
Add summary field to Path Item Object
This commit is contained in:
parent
56ff382b17
commit
61a1d6eaed
|
@ -144,6 +144,7 @@ class AutoSchema(ViewInspector):
|
||||||
def get_operation(self, path, method):
|
def get_operation(self, path, method):
|
||||||
operation = {}
|
operation = {}
|
||||||
|
|
||||||
|
operation['summary'] = self.get_summary(path, method)
|
||||||
operation['operationId'] = self.get_operation_id(path, method)
|
operation['operationId'] = self.get_operation_id(path, method)
|
||||||
operation['description'] = self.get_description(path, method)
|
operation['description'] = self.get_description(path, method)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user