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

Use JsonElement type for empty schema #367

Merged
merged 1 commit into from
Apr 17, 2022

Conversation

nielsvanvelzen
Copy link
Member

@nielsvanvelzen nielsvanvelzen commented Apr 7, 2022

Support empty schema in the OpenAPI generator. This will use the "JsonElement" type for empty schema's. An empty schema basically means "everything valid JSON is fine" 1. This is required for jellyfin/jellyfin#7561.

draft because no merge until 1.2.0 is ready

Footnotes

  1. http://json-schema.org/understanding-json-schema/basics.html#id1

@nielsvanvelzen nielsvanvelzen marked this pull request as ready for review April 17, 2022 09:09
@nielsvanvelzen nielsvanvelzen requested a review from Maxr1998 April 17, 2022 09:09
@Maxr1998 Maxr1998 merged commit 7ed6c96 into jellyfin:master Apr 17, 2022
@nielsvanvelzen nielsvanvelzen deleted the gen-null-schema branch April 17, 2022 17:07
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