-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreferences.yaml
More file actions
34 lines (33 loc) · 811 Bytes
/
references.yaml
File metadata and controls
34 lines (33 loc) · 811 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
openapi: 3.0.3
info:
title: Security
description: Security
version: 1.0.0
servers:
- url: 'https://example.com'
paths:
'/basic':
get:
responses:
"200":
description: Basic authorization
content:
application/json:
schema:
$ref: "#/components/schemas/ResourceListResult"
"500":
$ref: "https://raw.githubusercontent.com/belgif/openapi-problem/master/src/main/openapi/problem/v1/problem-v1.yaml#/components/responses/ProblemResponse"
components:
schemas:
ResourceListResult:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Resource'
Resource:
type: object
properties:
id:
type: string