forked from Tufin/oasdiff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi-test4.yaml
56 lines (56 loc) · 1.53 KB
/
openapi-test4.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
info:
title: Tufin
version: 1.0.0
openapi: 3.0.3
paths:
/prefix/api/{domain}/{project}/badges/security-score:
get:
parameters:
- in: query
name: image
schema:
description: alphanumeric with underscore, dash, period, slash and colon
example: tufinim/generic-bank:cia-latest
format: general string
pattern: ^(?:[\w-./:]+)$
type: string
- in: query
name: token
schema:
anyOf:
- description: RFC 4122 UUID
example: 26734565-dbcc-449a-a370-0beaaf04b0e8
format: uuid
pattern: ^(?:[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12})$
type: string
- description: RFC 4122 UUID
example: 26734565-dbcc-449a-a370-0beaaf04b0e8
format: uuid
type: string
- in: path
name: domain
required: true
schema:
description: Non-negative integers (including zero)
example: "100"
format: non-negative integer
pattern: ^(?:\d+)$
type: integer
- in: path
name: project
required: true
schema:
description: Lowercase string
example: retail
format: lowercase string
pattern: ^(?:[a-z]+)$
type: string
responses:
default:
description: Tufin
servers: []
post:
responses:
default:
description: Tufin
servers: []