fix(jsonschema): keep operation groups in context (#8643) · api-platform/json-api@1d49ccf · GitHub
Skip to content

Commit 1d49ccf

Browse files
authored
fix(jsonschema): keep operation groups in context (#8643)
* fix(json-schema): keep operation groups in context An explicit serializer context without groups replaced the operation context, and both directions' groups were passed to the property factories. OpenAPI 3.0 docs, MCP tool schemas and the test assertions then exposed write-only properties in output schemas. Read ignored_attributes from the built direction's context too. * fix(jsonapi): keep schema groups disabled The operation context now fills keys missing from an explicit context, an unset groups key came back from the operation.
1 parent 160e396 commit 1d49ccf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎JsonSchema/SchemaFactory.php‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)