Closed zak905 closed 1 year ago
@danielgtaylor, just a reminder about this. Are you interested in having this in upstream ?
FYI, I submitted a patch to the libopenapi which was accepted: https://github.com/pb33f/libopenapi/pull/142
@zak905 sorry about the delay, I will look at and test this out ASAP. Any updates to libopenapi require a bunch of testing on my part as I can't break existing customers (we use Restish in a lot of production workflows).
The diff looks great, my hesitation now is just around testing / verification with existing OpenAPI specs.
Thanks for the update @danielgtaylor. In principle, the changes I introduced to libopenapi should preserve the backward compatibility. However, I guess a lot happened since version 0.4, so it's worth double checking, as you said. Concerning the current breaking tests, the cause was some data type changes from int64 to float64 in the github.com/pb33f/libopenapi/datamodel/high/base package. I addressed them in the latest commit, hopefully it should be ok.
Merging #202 (4f4466f) into main (3a541b4) will increase coverage by
0.28%
. Report is 6 commits behind head on main. The diff coverage is100.00%
.
closes #203