Skip to content

Generate OpenAPI 3.1 with split request schemas - #853

Merged
nkiryanov merged 1 commit into
masterfrom
feat/openapi-31-split-request
Jul 25, 2026
Merged

Generate OpenAPI 3.1 with split request schemas#853
nkiryanov merged 1 commit into
masterfrom
feat/openapi-31-split-request

Conversation

@nkiryanov

Copy link
Copy Markdown
Contributor

Request and response get separate components.

A single schema for both directions puts read-only fields into request types, and forces a file field to be a URL and an upload at the same time.
A client generated from that schema cannot type uploads at all.

Request and response get separate components.
A single schema for both directions puts read-only fields into request types,
and forces a file field to be a URL and an upload at the same time.
@nkiryanov
nkiryanov enabled auto-merge (squash) July 25, 2026 15:42
@nkiryanov
nkiryanov merged commit c4a873b into master Jul 25, 2026
4 of 5 checks passed
@nkiryanov
nkiryanov deleted the feat/openapi-31-split-request branch July 25, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant