Skip to content

fix(metadata): build Open Api attributes in XmlResourceExtractor #7189

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: 4.1
Choose a base branch
from

Conversation

johan-ds
Copy link

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants