Skip to content

fix(metadata): relax the XML schema where it rejects valid metadata - #8760

Open
Maxcastel wants to merge 4 commits into
api-platform:5.0from
Maxcastel:fix/xml-schema-too-strict
Open

Maxcastel wants to merge 4 commits into
api-platform:5.0from
Maxcastel:fix/xml-schema-too-strict

Conversation

@Maxcastel

Copy link
Copy Markdown
Contributor
Q A
Branch? 5.0
License MIT

Some things work with attributes and YAML but were rejected by the XSD:

  • an empty <args/> (used in the GraphQL docs to remove the default args), it also came back as null instead of []
  • more than one <link> or <header>, and only the first one was read
  • openapi="false" on <resource>
  • priority="0" or negative, paginationItemsPerPage="0"

@Maxcastel
Maxcastel changed the base branch from main to 5.0 October 23, 2026 13:19
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