...
1{
2 "swagger": "2.0",
3 "info": {
4 "title": "example.proto",
5 "version": "version not set"
6 },
7 "schemes": [
8 "http",
9 "https"
10 ],
11 "consumes": [
12 "application/json"
13 ],
14 "produces": [
15 "application/json"
16 ],
17 "paths": {
18 "/example/v2/GetEvents": {
19 "get": {
20 "operationId": "GetEvents",
21 "responses": {
22 "200": {
23 "description": "A successful response.(streaming responses)",
24 "schema": {
25 "$ref": "#/x-stream-definitions/v2EventMsg"
26 }
27 }
28 },
29 "parameters": [
30 {
31 "name": "afterEventID",
32 "description": ".",
33 "in": "query",
34 "required": false,
35 "type": "string"
36 }
37 ],
38 "tags": [
39 "Matchmaking"
40 ]
41 }
42 }
43 },
44 "definitions": {
45 "protobufAny": {
46 "type": "object",
47 "properties": {
48 "type_url": {
49 "type": "string"
50 },
51 "value": {
52 "type": "string",
53 "format": "byte"
54 }
55 }
56 },
57 "runtimeStreamError": {
58 "type": "object",
59 "properties": {
60 "grpc_code": {
61 "type": "integer",
62 "format": "int32"
63 },
64 "http_code": {
65 "type": "integer",
66 "format": "int32"
67 },
68 "message": {
69 "type": "string"
70 },
71 "http_status": {
72 "type": "string"
73 },
74 "details": {
75 "type": "array",
76 "items": {
77 "$ref": "#/definitions/protobufAny"
78 }
79 }
80 }
81 },
82 "v2EventMsg": {
83 "type": "object",
84 "properties": {
85 "eventID": {
86 "type": "string"
87 }
88 }
89 }
90 },
91 "x-stream-definitions": {
92 "v2EventMsg": {
93 "type": "object",
94 "properties": {
95 "result": {
96 "$ref": "#/definitions/v2EventMsg"
97 },
98 "error": {
99 "$ref": "#/definitions/runtimeStreamError"
100 }
101 },
102 "title": "Stream result of v2EventMsg"
103 }
104 }
105}
View as plain text