Allow to change API base url

This support both format proposed in #10.

We might want to push that in the definition level, but I not sure
if there is value in repeating this at each level.