title: Sending cookie session id with Swagger 3.0
body: <p>It is said that "To define cookie authentication, use API keys instead." in the official documentation </p>
  
  <p><a href="https://swagger.io/docs/specification/describing-parameters/#cookie-parameters" rel="noreferrer">https://swagger.io/docs/specification/describing-parameters/#cookie-parameters</a></p>
  
  <p>The fact is we tried with </p>
  
  <pre><code>components:
    securitySchemes:
      cookieAuth:         
        type: apiKey
        in: cookie
        name: sessionId
  ...
      security:
        - cookieAuth: []
  </code></pre>
  
  <p>Using the above code, in Swagger UI we are able to click on the padlock to set the value of the sessionId. But when we execute the method, <strong>the value of the cookie is NULL and we don't see the cookie sent in the Headers (Chrome Developer tool)</strong> </p>
  
  <p>I tried also to put that in cookie parameter like this:</p>
  
  <pre><code>parameters:
    - in: cookie
      name: sessionId   
      required: true
      schema:
        type: string 
  </code></pre>
  
  <p>But there again, same result (arrive null, and nothing in the debugger tool.</p>
  
  <p>We use Swagger with openApi 3.0, other parameters, requestBody is working well, but not this cookie transmission.</p>
  
  <p>Thx for anything that can have an idea.</p>