Closed alpox closed 1 week ago
API Platform version(s) affected: 3.3.12
Description Parameter constraints are not being read when defining the operation in yaml but can be defined in attribute definitions.
How to reproduce Define an operation with parameters and constraints in a yaml file. The constraints will not be known / validated.
Additional Context https://github.com/api-platform/core/blob/main/src/Metadata/Extractor/YamlResourceExtractor.php#L468
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
API Platform version(s) affected: 3.3.12
Description
Parameter constraints are not being read when defining the operation in yaml but can be defined in attribute definitions.
How to reproduce
Define an operation with parameters and constraints in a yaml file. The constraints will not be known / validated.
Additional Context
https://github.com/api-platform/core/blob/main/src/Metadata/Extractor/YamlResourceExtractor.php#L468