-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix schema serde reserialization (#239)
Currently there was an issue where Object component properties where not deserialized correctly from openapi spec json. The issue surfaced because serde will try to deserialize Object component as Property component for some reason and succesfully does it breaking the schema definition. This PR makes the Object as first item to try to deserialize. According to the tests now when Object is the first one the deserializing already serialized openapi json will deserialize Object properties correctly. fixes #175
- Loading branch information
Showing
1 changed file
with
65 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters