tie/test/golden/weird-cookie-trick.yaml
2022-06-21 11:59:16 +02:00

32 lines
775 B
YAML

openapi: "3.0.0"
info:
version: 1.0.0
title: Scarf
license:
name: AllRightsReserved
servers:
- url: https://scarf.sh/api/v1
paths:
/test:
get:
summary: test
operationId: test
responses:
'200':
description: Some response
content:
application/json:
schema:
description: Undocumented
headers:
Set-Cookie:
description: Session cookie
schema:
type: string
example: SESSIONID=abcde12345; Path=/
"\0Set-Cookie":
description: CSRF token
schema:
type: string
example: CSRFTOKEN=fghijk678910; Path=/; HttpOnly
components: {}