Skip to content
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

infer map from additionalProperties #211

Closed
urandom2 opened this issue Jul 21, 2020 · 2 comments · Fixed by #424
Closed

infer map from additionalProperties #211

urandom2 opened this issue Jul 21, 2020 · 2 comments · Fixed by #424

Comments

@urandom2
Copy link

Currently the spec suggests you use additionalProperties to define typed maps. Is it possible to infer map[string]Xxx from struct { AdditionalProperties map[string]Xxx }? Clearly if other fields are present, the overflow map is required, but it would be nice to have things flattened more.

@gnvk
Copy link

gnvk commented Apr 27, 2022

@deepmap-marcinr Are there plans to fix this? Maybe by merging #424?

@gnvk
Copy link

gnvk commented May 26, 2022

@deepmap-marcinr Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants