Skip to content

Correct openapi3.Unmarshal example #3072

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

Merged
merged 1 commit into from
May 19, 2025
Merged

Correct openapi3.Unmarshal example #3072

merged 1 commit into from
May 19, 2025

Conversation

hazel-nut
Copy link
Contributor

Accessing the unmarshaled data structure depends on what kin-openapi does. This recently caused a small breaking change and may generally be a bit unintuitive, so I also included a brief warning and explanation along with a recent example. Please edit as appropriate, if necessary.

Accessing the unmarshaled data structure depends on what `kin-openapi` does. This recently caused a [small breaking change](https://discourse.gohugo.io/t/openapi3-unmarshal-broken-range-cant-iterate/54725/) and may generally be a bit unintuitive, so I also included a brief warning and explanation along with a recent example.
@bep bep merged commit 677b3fe into gohugoio:master May 19, 2025
5 checks passed
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 this pull request may close these issues.

2 participants