摘要: 一、原因 当全局header参数中包含命名为Accpet、Content-Type、Authorization的参数时,参数的定义将被忽略,需要手动添加。 二、解决办法 接口上security 参数,指定要放行的权限key 三、示例代码 /** * @OA\SecurityScheme( * typ 阅读全文
posted @ 2023-02-08 13:20 北漂生活 阅读(957) 评论(0) 推荐(0) 编辑