Skip to content

fix: use object instead of deepObject for filter schema type#408

Closed
olivermt wants to merge 0 commit intoash-project:mainfrom
olivermt:main
Closed

fix: use object instead of deepObject for filter schema type#408
olivermt wants to merge 0 commit intoash-project:mainfrom
olivermt:main

Conversation

@olivermt
Copy link
Contributor

deepObject is a valid value for the style property of a parameter,
but not a valid value for the type property of a schema. The OpenAPI
spec only allows standard JSON Schema types (object, array, string, etc.)
for schema types.

@zachdaniel
Copy link
Contributor

@olivermt I'll accept this PR as long as there is a config added to opt back into the old worse behavior (for the sake of those who are more concerned with swagger ui behaving better).

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