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
I'm trying to deserialize a OpenApi object to build a crate that will generate types from a OpenAPI spec file, I tried with different specs (even one generated from this crate):
@auguwu
The utoipa 4.x.x had at least issues with deserializing back already serialized openapi.json. This hopefully has been "fixed" with utoiopa 5.0.0 release.
Thanks, hope it does solve the issues, but if not I'll take a look at schemas and see if there is something that can be done to fix this. These kinds of issues are a bit annoying and hard to debug because it radiates from serde which silently just allows json to be deserialized even if it did encounter issues on the way.
I'm trying to deserialize a
OpenApi
object to build a crate that will generate types from a OpenAPI spec file, I tried with different specs (even one generated from this crate):and it fails with:
# data did not match any variant of untagged enum RefOr
or
# missing field `headers`
I made a reproduction repository that the maintainers can try and see what is going on?
The text was updated successfully, but these errors were encountered: