Issue #3850
Updated by daviddavis about 6 years ago
The hrefs for objects returned from the bindings have full urls with hostname, port, etc. However, the parameters require relative urls:
<pre><code class="python">
from swagger_client.api.repositories_api import RepositoriesApi
api = RepositoriesApi()
api.repositories_list() # 'href': 'http://localhost:8000/pulp/api/v3/repositories/3a723819-6302-4352-8ac6-3875ac7b7429/'
api.repositories_read('/repositories/3a723819-6302-4352-8ac6-3875ac7b7429/') # have to use relative path
</code></pre>
We should be returning relative URIs in our API.