Closed tiagolobocastro closed 1 week ago
Raised PR on openapiv3: https://github.com/glademiller/openapiv3/pull/86
The raised PR is still not reviewed, I wonder if the repo is no longer maintained. So we'd have to consider forking or switching to another crate in order to make progress here and in the other PR which is depending on this one... @Sufflope @formlogic-kirk @snaggen @RaulTrombin @thomedw what are your thoughts here?
Hi @tiagolobocastro,
There's a crate called openapiv3-extended, which is a fork of the repository you mentioned. It might be worth checking out.
I think it has the required pub fields https://github.com/kurtbuilds/openapiv3/blob/master/src/security_scheme.rs#L67.
Hi @tiagolobocastro,
There's a crate called openapiv3-extended, which is a fork of the repository you mentioned. It might be worth checking out.
I think it has the required pub fields https://github.com/kurtbuilds/openapiv3/blob/master/src/security_scheme.rs#L67.
I did not know this, thank you! I'll take a look
Seems like updating to the extended crate would take a few changes, and we might have to raise a PR there as well. To avoid going through this loop again, I've added a new crate, a simple fork with just these changes. Since openapiv3 is not part of the public api yet, this should be fairly harmless but we do need to consider how to progress forward.
There's a breaking change on the crate which does not expose the fields as pub and so we need to use our own patch for now.