Open Dennor opened 6 years ago
Having this as well. A setting for the default type for keys would be useful.
I have also just discovered this on our codebase while converting some OpenAPI 3 specs.
This seems a duplicate of #214, the YAML spec 1.2 actually solves it.
Not sure if this works as intended but n and y string keys resolve to bool
For example:
Results with
map[keys:[map[use:sig false:AQAB e:AQAB alg:RSA256 kid:somersakid kty:RSA] map[kid:someeckid kty:EC use:sig crv:P-256 x:AQAB true:AQAB alg:ES256]]]
Not a major issue as I can just wrap n and y in quotes, but it does seem weird.