-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-schema.yaml
More file actions
41 lines (41 loc) · 909 Bytes
/
test-schema.yaml
File metadata and controls
41 lines (41 loc) · 909 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
33
34
35
36
37
38
39
40
41
openapi: 3.0.3
info:
title: $ref issue demo
version: 0.0.1
description: Show issue with #/components/parameters reference
servers:
- url: http://localhost:5000
paths:
/test:
get:
summary: test
description: Returns a list
parameters:
- $ref: '#/components/parameters/Pagination'
responses:
'200':
description: list
content:
application/json:
schema:
type: array
items:
type: string
format: uuid
components:
parameters:
Pagination:
name: page
in: query
required: false
schema:
type: object
properties:
page.start:
type: integer
format: int64
example: 1
page.limit:
type: integer
format: int64
default: 25