Skip to content

fix OpenAPI output for schema s/Any - #801

Merged
opqdonut merged 3 commits into
masterfrom
fix-schema-openapi-any
Sep 17, 2026
Merged

opqdonut merged 3 commits into
masterfrom
fix-schema-openapi-any

Conversation

@opqdonut

Copy link
Copy Markdown
Member

The OpenAPI JSON-schema way to represent s/Any is {}. Schema tools requires :in :body to output this, otherwise it prefers :oneOf [{:type :string} {:type :null}].

Fixes #800

now that schema-tools 0.14.1 has the necessary fix
@opqdonut
opqdonut force-pushed the fix-schema-openapi-any branch from 330b5d0 to 099eabf Compare September 17, 2026 08:05
@opqdonut
opqdonut merged commit 73e2977 into master Sep 17, 2026
11 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.

schema openapi transform maps s/Any to string

2 participants