[英]How to enable authorize in Swagger.?
In my project, the api_platform.yaml file is created in the routes folder, not in the packages folder.在我的项目中,api_platform.yaml 文件是在 routes 文件夹中创建的,而不是在 packages 文件夹中。 I can't make changes to api_platform.yaml.我无法更改 api_platform.yaml。
Try reinstalling API Platform from scratch :尝试 从头开始重新安装 API 平台:
symfony new my-new-app
cd my-new-app
composer require api
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.