I'm trying to update a Class' API version within a managed package.
The function is as follows:
@HttpPut
global static String uploadNewAttachment(RestRequest req) {
When I try to bump the Class version from 23.0 (old I know) up to anything above 30, I get the error: HttpPut methods do not support parameter type of System.RestRequest at line 5 column 26
But if I clear out the param and use RestRequest/RestResponse instead, I receive: Error: Compile Error: Global/WebService identifiers cannot be removed from managed application: Method String uploadNewAttachment(System.RestRequest) at line -1 column -1
Is there any way around this?