In my project, the api_platform.yaml file is created in the routes folder, not in the packages folder. I can't make changes to api_platform.yaml.
Try reinstalling API Platform from scratch :
symfony new my-new-app
cd my-new-app
composer require api
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.