-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathpattern-parameter-base.yaml
63 lines (63 loc) · 1.38 KB
/
pattern-parameter-base.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
openapi: 3.0.1
info:
title: Tufin
version: "1.0"
servers:
- url: https://localhost:9080
paths:
/api/v1.0/groups:
post:
operationId: createOneGroup
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GroupView'
description: Creates one project.
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/GroupView'
description: OK
summary: Create One Project
/api/v1.0/groups/{groupId}:
get:
operationId: returnOneGroup
parameters:
- $ref: '#/components/parameters/groupId'
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/GroupView'
description: OK
summary: Return One Project
components:
parameters:
groupId:
in: path
name: groupId
required: true
schema:
type: string
pattern: "[0-9a-f]+"
schemas:
GroupView:
type: object
properties:
created:
type: string
format: date-time
readOnly: true
pattern: "^[a-z]+$"
id:
type: string
readOnly: true
name:
type: string
required:
- name