Skip to content

Fixing async specs#148

Draft
elmerbulthuis wants to merge 21 commits intoLuvDaSun:mainfrom
elmerbulthuis:async-spec
Draft

Fixing async specs#148
elmerbulthuis wants to merge 21 commits intoLuvDaSun:mainfrom
elmerbulthuis:async-spec

Conversation

@elmerbulthuis
Copy link
Member

@elmerbulthuis elmerbulthuis commented Jun 18, 2025

No description provided.

@elmerbulthuis
Copy link
Member Author

Seems that anyOf has some problems with an array and an enum with strings, but an unknown type.

Possibly we could make a transform that derives the type from the enum if it is not set yet. Let's figure that out...

@elmerbulthuis elmerbulthuis self-assigned this Jun 18, 2025
@elmerbulthuis
Copy link
Member Author

created a types from options transformer

@elmerbulthuis
Copy link
Member Author

elmerbulthuis commented Jun 19, 2025

we have an anyOf with required in it in specifications-async/oas_3-1.json, let's support that!

@elmerbulthuis
Copy link
Member Author

guessing types from options and array or object specifications now.

@elmerbulthuis
Copy link
Member Author

seems we needed to flip and an intersection merge for the anyof resolver

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.

1 participant