We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code produces query parameters that are intended for Rails app:
@manifest_api = PulpContainerClient::ContentManifestsApi.new @manifest_api.list({media_type: ["application/vnd.docker.distribution.manifest.v1+json", "application/vnd.docker.distribution.manifest.v2+json"]})
"GET /pulp/api/v3/content/container/manifests/?media_type%5B%5D=application%2Fvnd.docker.distribution.manifest.v1%2Bjson&media_type%5B%5D=application%2Fvnd.docker.distribution.manifest.v2%2Bjson HTTP/1.1" 400
Django apps expect the URL to be encoded without the %5B%5D.
%5B%5D
"GET /pulp/api/v3/content/container/manifests/?media_type=application%2Fvnd.docker.distribution.manifest.v1%2Bjson&media_type=application%2Fvnd.docker.distribution.manifest.v2%2Bjson HTTP/1.0" 200
4.3.1+
Faraday supports passing in params_encoder. The configuration object needs to accept a params_encoder.
params_encoder
lostisland/faraday#78 (comment)
The text was updated successfully, but these errors were encountered:
Adds 'params_encoder' config option for Ruby clients using Faraday
79e0726
The partial templates were renamed because they no longer hold tls settings exclusively. fixes: OpenAPITools#9838
48022bc
Adds 'params_encoder' config option for Ruby clients using Faraday (#…
e783e9b
…9839) The partial templates were renamed because they no longer hold tls settings exclusively. fixes: #9838
Adds 'params_encoder' config option for Ruby clients using Faraday (O…
5f4eccd
…penAPITools#9839) The partial templates were renamed because they no longer hold tls settings exclusively. fixes: OpenAPITools#9838
Successfully merging a pull request may close this issue.
Description
The following code produces query parameters that are intended for Rails app:
Django apps expect the URL to be encoded without the
%5B%5D
.openapi-generator version
4.3.1+
Suggest a fix
Faraday supports passing in
params_encoder
. The configuration object needs to accept aparams_encoder
.lostisland/faraday#78 (comment)
The text was updated successfully, but these errors were encountered: