Skip to content

fix: require MonetaryAmount properties - #3361

Open
dpkass wants to merge 1 commit into
springdoc:mainfrom
dpkass:fix/require-monetary-amount-properties
Open

dpkass wants to merge 1 commit into
springdoc:mainfrom
dpkass:fix/require-monetary-amount-properties

Conversation

@dpkass

@dpkass dpkass commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

The JSR 354 currency and number supplier contracts guarantee non-null values, but SpringDoc’s replacement model currently describes both properties as optional. Mark amount and currency as required and update the OpenAPI 3.0 and 3.1 fixtures accordingly.

Mark amount and currency as required because the JSR 354 supplier contracts guarantee both values are non-null. Update the OpenAPI 3.0 and 3.1 fixtures accordingly.

Co-Authored-By: Codex GPT-5 <noreply@openai.com>
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.

1 participant