-
-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy pathopenapi.yaml
More file actions
32 lines (32 loc) · 707 Bytes
/
openapi.yaml
File metadata and controls
32 lines (32 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
openapi: '3.0.0'
info:
version: '0.0.1'
title: Test Service
paths:
'/test/{pk}':
get:
responses:
'200':
description: Default
content:
application/json:
schema:
type: object
properties:
test:
type: string
required:
- test
headers:
X-Rate-Limit:
description: Rate limit
schema:
type: integer
required: true
parameters:
- required: true
in: path
name: pk
schema:
type: integer
minimum: 1