Skip to content

fix: require MonetaryAmount properties - #3361

Merged
bnasslahsen merged 1 commit into
springdoc:mainfrom
dpkass:fix/require-monetary-amount-properties
Oct 23, 2026
Merged

bnasslahsen merged 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>
bnasslahsen added a commit that referenced this pull request Oct 23, 2026
See gh-3361

Signed-off-by: Badr NASS LAHSEN <badr.nasslahsen@gmail.com>
@bnasslahsen
bnasslahsen merged commit 2a03258 into springdoc:main Oct 23, 2026
1 check passed
bnasslahsen added a commit that referenced this pull request Oct 23, 2026
See gh-3361

Signed-off-by: Badr NASS LAHSEN <badr.nasslahsen@gmail.com>
@bnasslahsen

Copy link
Copy Markdown
Collaborator

Thanks @dpkass! Merged into main and backported to spring-boot-3 (8bde5a3).

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