Add deprecated: true in OpenApi for methods marked with obsolete attribute
Add deprecated: true in OpenApi for methods marked with obsolete attribute