招摇没有出现饼干头?

时间:2017-08-31 17:31:22

标签: cookies swagger-2.0 swagger-editor swagger-node-express swagger-node

0使用快速会话,但我无法发送cookie,即在header.its中显示curl但未在服务器中显示的session.sid。那么任何人都可以帮我设置它吗?

swagger: '2.0'
info:
  description: This is the list of API pr
  version: 1.0.0
tags:
- name: developers
  description: Operations available to regular developers
host: localhost:3000
schemes: 
 - http
securityDefinitions:
  api_key:
    type: apiKey
    name: cookie
    in: header


/api/details/{id}:
  get:
    summary: List all
    description: ""
    produces:
      - application/json
    parameters:
      - name: id
        in: path
        required: true
        type: integer
    security:
      - api_key: []  
    responses:
      200:
        description: " "

0 个答案:

没有答案