Closed Leptopoda closed 9 months ago
Oh that sounds very good, I assume it will also already handle the URL encoding for us?
I think this is part of the RFC specification. Let's see
@Leptopoda May I take this issue over? You already have so much dynamite work on your plate
sure
Later on we should also use the UriTemplates for query parameters.
Unassigning myself for now
removing from the milestone as we now no longer incorrectly encode path parameters.
the pr didn't auto close this issue :( closing as done.
We currently query encode path parameters which is not required by the openapi specification. Only query parameters need to be:
https://swagger.io/docs/specification/serialization/ has a table on how to interpret parameter specifications as an RFC 6570 uri template. The google published dart library
uri
already supports these templates (https://pub.dev/documentation/uri/latest/uri/UriTemplate-class.html) so switching to them might:@provokateurin what do you think? Shouldn't be that hard.