mirror of
https://github.com/scarf-sh/tie.git
synced 2024-11-30 01:33:37 +03:00
32 lines
775 B
YAML
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: {} |