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

support for type string, format base64url #606

Closed
amarzavery opened this issue Mar 20, 2016 · 4 comments
Closed

support for type string, format base64url #606

amarzavery opened this issue Mar 20, 2016 · 4 comments

Comments

@amarzavery
Copy link

Open API Spec supports base64 formatted string via "byte" format. However, it would be better if Open API Spec supports base64url instead of base64.

Base64Url is very similar to Base64, except that the value encoding for characters 62 and 63 is different as it is explained in https://tools.ietf.org/html/rfc4648#page-7.

This is much safer than base64. What do you guys think about this?

Some of our customers have requested support for this. Please find the corresponding issue over here.

@ralfhandl
Copy link
Contributor

+1: OData represents binary data in base64url encoding so that clients can take payload values and use them in $filter conditions without having to percent-encode the forwards slash.

@webron
Copy link
Member

webron commented Jul 21, 2016

Tackling PR: #741

@ePaul
Copy link
Contributor

ePaul commented Aug 3, 2016

I guess the advantage is only relevant for path and query parameters, not so much for things encoded in JSON. (I'm not sure about header parameters + response headers.)

(This is not an argument against this, just one consideration which might need to be mentioned.)

@fehguy
Copy link
Contributor

fehguy commented Feb 1, 2017

See #878

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants