Мое определение OpenAPI включает аутентификацию Cookie. В редакторе Swagger команда curl работает нормально, но "пробуй" не добавляет заголовок Cookie
в запросах. Есть идеи почему?
openapi: 3.0.0
servers:
- url: 'XXXXXXX'
info:
description: xxxxx
version: 1.0.0
title: xxxxx
contact:
email: xxxxxx
paths:
'/tenants/{tenant_id}/call/projects':
get:
tags:
- project
operationId: getProjects
parameters:
- name: tenant_id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/project'
security:
- apiKey: []
components:
securitySchemes:
apiKey:
type: apiKey
name: auth-token
in: cookie