Add missing overrides to swagger_auto_schema (#194)
Add missing `operation_summary` and `deprecated` to `swagger_auto_schema` decorator data. The previous PR missed adding these to extra overrides. - Added tests - Updated reference.yaml Refs #149, #173. Closes #194, #198.
This commit is contained in:
committed by
Cristi Vîjdea
parent
02b8848912
commit
0837873f55
@@ -151,6 +151,7 @@ paths:
|
||||
- articles
|
||||
patch:
|
||||
operationId: articles_partial_update
|
||||
summary: partial_update summary
|
||||
description: partial_update description override
|
||||
parameters:
|
||||
- name: data
|
||||
@@ -167,6 +168,7 @@ paths:
|
||||
description: slug not found
|
||||
tags:
|
||||
- articles
|
||||
deprecated: true
|
||||
delete:
|
||||
operationId: articles_delete
|
||||
description: destroy method docstring
|
||||
|
||||
Reference in New Issue
Block a user