Issue #3851
Updated by daviddavis over 6 years ago
We patched the bindings so that if there are any path variables in the url (e.g. <code>/repositories/<repo_pk>/versions/<number>/content/</code>) you have to instead pass in the entire href you want to call. Here's an example: <pre><code class="python"> from swagger_client.api.repositories_api import RepositoriesApi api = RepositoriesApi() api.repositories_versions_content("/repositories/1/versions/1/content/") api.repositories_versions_content("/repositories/3a723819-6302-4352-8ac6-3875ac7b7429/versions/1/content/") </code></pre> Notice how I have to construct the href I am calling. Here's how I would How do we expect the bindings users to work: <pre><code class="python"> from swagger_client.api.repositories_api import RepositoriesApi api = RepositoriesApi() api.repositories_versions_content("/repositories/1/versions/1/") </code></pre> Notice that I am using do this? This seems to defeat the repo version href and not purpose of the endpoint that the bindings are actually calling. bindings.