You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
API requires "_until: ISO8601" argument everywhere as opposed to "until: ISO8601" datetime #13
If one looks at the code though it is unnecessary and is just a artifact of the code generator.
Because until is used as a hash key the keyword problem no longer exists?
I guess that Swagger does this.
Yea, Swagger did do this. I don't think it would be hard to change, but don't know what other underlying problems doing so would cause. I can go ahead and look into it, but it probably wouldn't be changed any time soon
Activity
mjschuetze102 commentedon Nov 9, 2022
Because
untilis used as a hash key the keyword problem no longer exists?Yea, Swagger did do this. I don't think it would be hard to change, but don't know what other underlying problems doing so would cause. I can go ahead and look into it, but it probably wouldn't be changed any time soon
bretweinraub commentedon Nov 9, 2022
I that is correct. I've not tried it though.
There are lines like this:
but nothing else really.
bretweinraub commentedon Nov 9, 2022
I checked this is the only param that has the issue:
d-hansen commentedon Nov 10, 2022
I would recommend it get fixed to support both forms.
Please don't break backwards compatibility for people already using
:_until!Eg, perhaps if the generated code looked something more like this (perhaps this needs to be a swagger patch?):
bretweinraub commentedon Nov 11, 2022
Good idea. I'd say anything using :_until should throw a deprecation warning for a while ..... then it should be removed.