You can change
ParameterType used with
[ApiMember] attribute however body wont work as the body is the entire Request / Response DTO, not a single property.
Here are some existing threads for background info:
Any additional customizations can be applied using Operation Filters which lets you modify the returned typed DTO representing the OpenApi v2 specification.