-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support for dictionaries #218
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, this is a very interesting feature! 👏🏻
I've requested a few changes to make the syntax clearer and fix the tests (which are failing at the moment), but once this is addressed, I think this would be a nice addition to the project. 👍🏻
Kudos, SonarCloud Quality Gate passed! |
@LonelyPrincess thanks a lot for all your help reviewing the code! and thanks @joelabrahamsson for the contribution @all-contributors please add @joelabrahamsson for code |
I've put up a pull request to add @joelabrahamsson! 🎉 |
What kind of change does this PR introduce? (check at least one)
Description:
This PR adds support for dictionaries with objects as values as described in the OpenAPI spec under "Value type" (second example here: https://swagger.io/docs/specification/data-models/dictionaries/
As my understanding of the codebase is limited I don't think the implementation is optimal but hopefully someone with more familiarity of the codebase can refactor it to a satisfactory level?