Skip to content
New issue

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

Query in pathPattern will miss after build http request #134

Open
nan-mu-cs opened this issue Apr 5, 2019 · 2 comments
Open

Query in pathPattern will miss after build http request #134

nan-mu-cs opened this issue Apr 5, 2019 · 2 comments

Comments

@nan-mu-cs
Copy link

nan-mu-cs commented Apr 5, 2019

Support I have a pathPattern /api/{id}/hello?action=create
logic in here: https://github.com/go-openapi/runtime/blob/master/client/request.go#L133-L134

req.URL.RawQuery = r.query.Encode()
req.Header = r.header

won't carry action=create to new http request query part

@fredbi
Copy link
Member

fredbi commented Apr 5, 2019

Do you have a sample spec where this fails?
I have been running fine with similar patterns.

@nan-mu-cs
Copy link
Author

sure, will add sample later today

kzys pushed a commit to kzys/runtime that referenced this issue Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants