Forum Discussion

pm321's avatar
Occasional Visitor
10 months ago

Override generated request and response model names


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