Forum Discussion

prasadm's avatar
prasadm
New Contributor
5 years ago

Swagger editor

I am using Play framework and Swagger editor. I am unable to pass cookies so I can login and use these cookies in later call. The curl command that is used by the editor does not include --cookie-jar so PLAY_SESSION cookie can be stored during login and be used in subsequent calls. Is there a way to get a cookie from "login" and this cookie used in subsequent calls ? I tried using - 

securitySchemes:

    cookieAuth:

      type: apiKey

      in: cookie

      name: PLAY_SESSION

but that is not changing the curl command used by swagger editor - editor.swagger.io

No RepliesBe the first to reply