Skip to content

Support marshmallow Tuple field (#399)#1045

Closed
SAY-5 wants to merge 2 commits into
marshmallow-code:devfrom
SAY-5:support-tuple-field
Closed

Support marshmallow Tuple field (#399)#1045
SAY-5 wants to merge 2 commits into
marshmallow-code:devfrom
SAY-5:support-tuple-field

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented May 19, 2026

Adds OpenAPI conversion for the marshmallow Tuple field, which was requested in #399 ("Yes! Absolutely. Would you like to submit the change?"). The fixed-length contained fields are described with prefixItems on OpenAPI 3.1 and with items/oneOf on earlier versions, and minItems/maxItems are set to the tuple length. Closes #399.

@sloria
Copy link
Copy Markdown
Member

sloria commented May 20, 2026

would rather see this feature implemented by an actual user of apispec rather than an agent strafing github for cred...

@sloria sloria closed this May 20, 2026
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.

Add support for Marshmallow Tuple field

2 participants