Forum Discussion

pm321's avatar
pm321
Occasional Visitor
11 months ago

Override generated request and response model names

Hi,

I see that for different APIs having same request and response objects, Open API is generating api methods with similar model names. For e.g. 

 

  • CreateUserResponse updateUser(CreateUserRequest createUserRequest)
  • CreateUserResponse createUser(CreateUserRequest createUserRequest)

 

Can we rename the model name for updateUser operation to UpdateUserRequest and UpdateUserResponse? 

  •  
No RepliesBe the first to reply