Skip to content

Conversation

@johan-ds
Copy link
Contributor

Q A
Branch? 4.1
Tickets
License MIT
Doc PR

Fix OpenApi attribute extraction from ApiResource Xml files.
In the first place XmlResourceExtractor was only extracting the deprecated attribute.
After fixing, a bug in SimpleXml lib led to infinite loop (at least on php 8.1/8.3) when OpenApi has multiple attributes (eg. <openapi operationId="myOperationId" description="my description" />)

Introduced by #5254

@soyuka
Copy link
Member

soyuka commented Jun 2, 2025

can you target 4.1?

@johan-ds johan-ds changed the base branch from main to 4.1 June 2, 2025 20:01
@johan-ds johan-ds force-pushed the fix/metadata-xmlresourceextractor branch from 7efbcff to 6793426 Compare June 2, 2025 20:04
@soyuka soyuka merged commit d3e73f0 into api-platform:4.1 Jun 26, 2025
101 of 111 checks passed
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