Skip to content

Conversation

ttskch
Copy link
Contributor

@ttskch ttskch commented Sep 22, 2025

Q A
Branch? 4.2
Tickets Closes #6478
License MIT
Doc PR N/A

This PR fixes the SchemaFactory for the 'json' format to output required properties as optional only for input context of PATCH operations.

This PR replaces the outdated #6478.

@ttskch ttskch force-pushed the feat/jsonschema-json-merge-patch branch from 7c3ec7d to f0b0ad9 Compare September 22, 2025 17:50
@ttskch ttskch marked this pull request as draft September 22, 2025 17:54
@ttskch ttskch force-pushed the feat/jsonschema-json-merge-patch branch from de370fb to b4f7541 Compare September 22, 2025 18:05
@ttskch ttskch force-pushed the feat/jsonschema-json-merge-patch branch from b4f7541 to e0c761e Compare September 22, 2025 19:31
@ttskch ttskch marked this pull request as ready for review September 22, 2025 19:46
@ttskch ttskch changed the title fix(jsonschema): enable to make all required properties optional in PATCH operation with 'json' format fix(jsonschema): make all required properties optional in PATCH operation with 'json' format Sep 26, 2025
@ttskch ttskch force-pushed the feat/jsonschema-json-merge-patch branch from 626f8df to a146913 Compare September 26, 2025 14:11
@ttskch ttskch force-pushed the feat/jsonschema-json-merge-patch branch from a146913 to 30ca447 Compare September 26, 2025 14:15
@soyuka soyuka merged commit abe0438 into api-platform:4.2 Sep 27, 2025
109 of 114 checks passed
@soyuka
Copy link
Member

soyuka commented Sep 27, 2025

Thanks @ttskch !

@ttskch ttskch deleted the feat/jsonschema-json-merge-patch branch September 27, 2025 10:35
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