mirror of
https://github.com/scarf-sh/tie.git
synced 2024-11-30 01:33:37 +03:00
41 lines
778 B
YAML
41 lines
778 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: Successful response
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: "#/components/schemas/Test"
|
|
components:
|
|
schemas:
|
|
Test:
|
|
properties:
|
|
a:
|
|
type: integer
|
|
format: int32
|
|
b:
|
|
type: integer
|
|
format: int64
|
|
c:
|
|
type: number
|
|
format: double
|
|
d:
|
|
type: number
|
|
format: float
|
|
e:
|
|
type: number
|
|
f:
|
|
type: integer
|