The generation process should include an if statement that reads the current base url and only sets it when empty.
https://github.com/microsoft/kiota-samples/blob/092356cbaeb09fc2e3632ce2fee3db116b4c9fbc/msgraph-mail/ruby/graphrubyv4/api_client.rb#L35
This is to avoid overwriting another URL that might have been set on the request adapter prior to instantiating the client.
#1443