core
core copied to clipboard
fix(metadata): build Open Api attributes in XmlResourceExtractor
| 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
can you target 4.1?