Add summary field to Path Item Object

This commit is contained in:
Mopsan 2020-05-05 16:59:17 +03:00 committed by GitHub
parent 56ff382b17
commit 61a1d6eaed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)