Skip to content

Conversation

MrSrsen
Copy link
Contributor

@MrSrsen MrSrsen commented Jul 27, 2025

Q A
Branch 4.1
Tickets #6553
License MIT
Doc PR none

Description:

  • At this moment, when I do not explicitly define parameters such as: deprecated, allowEmptyValue, explode and allowReserved process will fail on exception like ApiPlatform\OpenApi\Model\Parameter::__construct(): Argument #3 ($description) must be of type string, null given, called in /var/www/vendor/api-platform/core/src/Metadata/Extractor/XmlResourceExtractor.php on line 215
  • This will allow omission of optional parameters in XML definition

@MrSrsen MrSrsen changed the title 4.1 fix(openapi): nullable default values in operation openapi definition Jul 27, 2025
@soyuka
Copy link
Member

soyuka commented Jul 29, 2025

thanks! #7321

@soyuka soyuka closed this Jul 29, 2025
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