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

openapi3: fail to load spec because of schema names in mapping #1027

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

reuvenharrison
Copy link
Contributor

@reuvenharrison reuvenharrison commented Oct 30, 2024

This PR consists of a unit test demonstrating a problem with the latest mapping PR: #1022
The problem is due to the new logic not handling schema names anymore.
The example in the unit test is taken from here: https://spec.openapis.org/oas/v3.0.0#fixed-fields-20
The table in this page states that mapping is "An object to hold mappings between payload values and schema names or references."

@reuvenharrison reuvenharrison changed the title openapi3: fail to unmarshal mapping openapi3: fail to load spec because of schema names in mapping Oct 30, 2024
@fenollp fenollp merged commit 4fda0cc into getkin:master Nov 8, 2024
2 of 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