-
Notifications
You must be signed in to change notification settings - Fork 52
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
Array parameter in path #34
Comments
This is a question related to https://github.com/loopfz/gadgeto See https://swagger.io/docs/specification/serialization/ Query parameters section, and https://github.com/loopfz/gadgeto/blob/66acbcfcb7e86d7d226e759d3609866a3dd11365/tonic/tonic_test.go#L90 for reference. You are using the |
It also not work with |
The issue isn't related to the OpenAPI spec, nor the Fizz generator, but
rather the lack of support for the explode feature of path parameters in
tonic.
Le ven. 6 sept. 2019 à 15:04, Виктор <[email protected]> a écrit :
… It also not work with explode:"false". In specification array in path
allowed.
So, I write an issue in https://github.com/loopfz/gadgeto
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#34?email_source=notifications&email_token=ABRXWEKPKHQJ34QZFZMCCCTQIJIOHA5CNFSM4IUIOJXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6CY4NY#issuecomment-528846391>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABRXWEKJWRWCL2XRHHCQFQ3QIJIOHANCNFSM4IUIOJXA>
.
|
@ViktorPegy see loopfz/gadgeto#63, a PR has started to address what we talked about. |
Prerequisites:
Then, when I make a request:
curl "http://localhost:8080/1,2,3"
, I get error:binding error on field 'Id' of type 'args': strconv.ParseInt: parsing "1,2,3": invalid syntax
.The text was updated successfully, but these errors were encountered: