It appears that there is no way to deprecate a parameter or property in swagger spec. The `deprecate: true` statement applies only at operation level