-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi3.yaml
More file actions
49 lines (49 loc) · 1.06 KB
/
api3.yaml
File metadata and controls
49 lines (49 loc) · 1.06 KB
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
42
43
44
45
46
47
48
49
openapi: 3.0.0
info:
description: Short API description 3
version: "0.1"
title: API Documentation Title
termsOfService: ""
contact:
email: email@example.com
url: http://example.com
license:
name: MIT License
url: https://opensource.org/licenses/mit-license.php
servers:
- url: http://api.example.com
tags:
- name: project
description: Operations on projects
paths:
/projects:
get:
tags:
- project
description: Get all projects
operationId: findProjects
responses:
"200":
description: Successful operation
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Project"
components:
schemas:
Project:
type: object
required:
- id
- name
properties:
id:
type: integer
format: int64
name:
type: string
externalDocs:
description: Find out more about our project
url: https://example.com/docs/