You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using openapi 3.0.1 and need to set securitySchemes.
Looking at the code, it seems that the SecurityRequirementsHandler is affecting the creation of the securityRequirements field.
Looking at your code, it seems to only support 'Basic' and 'Bearer' authentication using the Authorization property of the Header.
Could you please add Cookie authorization here as well?
In the end, the Open API form you want to convert looks like this
components:
securitySchemes:
cookieAuth: # arbitrary name for the security scheme; will be used in the "security" key latertype: apiKeyin: cookiename: JSESSIONID # cookie name
P.S. This post is written with a translator. Please forgive me if the sentences are not smooth.
The text was updated successfully, but these errors were encountered:
Hi. I'm using restdoc mockmvc + swagger-ui.
I'm using openapi 3.0.1 and need to set securitySchemes.
Looking at the code, it seems that the SecurityRequirementsHandler is affecting the creation of the securityRequirements field.
Looking at your code, it seems to only support 'Basic' and 'Bearer' authentication using the Authorization property of the Header.
Could you please add Cookie authorization here as well?
In the end, the Open API form you want to convert looks like this
P.S. This post is written with a translator. Please forgive me if the sentences are not smooth.
The text was updated successfully, but these errors were encountered: