Skip to content

fix(metadata): read XML OpenAPI externalDocs and optional attributes - #8735

Open
Maxcastel wants to merge 1 commit into
api-platform:5.0from
Maxcastel:fix/xml-openapi-external-docs-optional-attributes
Open

Maxcastel wants to merge 1 commit into
api-platform:5.0from
Maxcastel:fix/xml-openapi-external-docs-optional-attributes

Conversation

@Maxcastel

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

A few TypeErrors when building the OpenAPI operation from XML:

  • <externalDocs description="..." url="..."/> was read from the operation node, so it always failed;
  • <parameter name="format" in="query"/> without description or required (allowed by the XSD);
  • <requestBody/> without required.

They now use the defaults of the OpenAPI models, like the YAML extractor.

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