...
1{
2 "components": {
3 "securitySchemes": {
4 "BearerToken": {
5 "description": "Bearer Token authentication",
6 "in": "header",
7 "name": "authorization",
8 "type": "apiKey"
9 }
10 }
11 },
12 "info": {
13 "title": "Kubernetes",
14 "version": "unversioned"
15 },
16 "openapi": "3.0.0",
17 "paths": {
18 "/logs/": {
19 "get": {
20 "operationId": "logFileListHandler",
21 "responses": {
22 "401": {
23 "description": "Unauthorized"
24 }
25 },
26 "tags": [
27 "logs"
28 ]
29 }
30 },
31 "/logs/{logpath}": {
32 "get": {
33 "operationId": "logFileHandler",
34 "responses": {
35 "401": {
36 "description": "Unauthorized"
37 }
38 },
39 "tags": [
40 "logs"
41 ]
42 },
43 "parameters": [
44 {
45 "description": "path to the log",
46 "in": "path",
47 "name": "logpath",
48 "required": true,
49 "schema": {
50 "type": "string",
51 "uniqueItems": true
52 }
53 }
54 ]
55 }
56 }
57}
View as plain text