0
据this document,我可以使用:扬鞭编辑和会话cookie
components:
securitySchemes:
cookieAuth:
type: apiKey
in: cookie
name: JSESSIONID
要定义session cookie
。但是,如果你去the editor从in: "header"
线577改变为in: "cookie"
,编辑与指责:
架构错误在
securityDefinitions['api_key'].in
应等于允许值ALLOWEDVALUES的 之一:header
,query
。
如何定义基于会话cookie的认证?