Skip to content

Commit

Permalink
cluster/http: handle status
Browse files Browse the repository at this point in the history
  • Loading branch information
gernest committed Feb 25, 2024
1 parent d9c6bf1 commit 287cddc
Show file tree
Hide file tree
Showing 10 changed files with 1,077 additions and 62 deletions.
804 changes: 804 additions & 0 deletions gen/go/vince/v1/status.pb.go

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions gen/vince/v1/auth.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,7 @@
],
"paths": {},
"definitions": {
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
},
"rpcStatus": {
"googlerpcStatus": {
"type": "object",
"properties": {
"code": {
Expand All @@ -38,6 +29,15 @@
}
}
}
},
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
}
}
}
20 changes: 10 additions & 10 deletions gen/vince/v1/config.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,7 @@
],
"paths": {},
"definitions": {
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
},
"rpcStatus": {
"googlerpcStatus": {
"type": "object",
"properties": {
"code": {
Expand All @@ -38,6 +29,15 @@
}
}
}
},
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
}
}
}
20 changes: 10 additions & 10 deletions gen/vince/v1/events.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,7 @@
],
"paths": {},
"definitions": {
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
},
"rpcStatus": {
"googlerpcStatus": {
"type": "object",
"properties": {
"code": {
Expand All @@ -38,6 +29,15 @@
}
}
}
},
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
}
}
}
20 changes: 10 additions & 10 deletions gen/vince/v1/raft.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,7 @@
],
"paths": {},
"definitions": {
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
},
"rpcStatus": {
"googlerpcStatus": {
"type": "object",
"properties": {
"code": {
Expand All @@ -38,6 +29,15 @@
}
}
}
},
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
}
}
}
43 changes: 43 additions & 0 deletions gen/vince/v1/status.swagger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"swagger": "2.0",
"info": {
"title": "vince/v1/status.proto",
"version": "version not set"
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {},
"definitions": {
"googlerpcStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/protobufAny"
}
}
}
},
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
}
}
}
20 changes: 10 additions & 10 deletions gen/vince/v1/store.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,7 @@
],
"paths": {},
"definitions": {
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
},
"rpcStatus": {
"googlerpcStatus": {
"type": "object",
"properties": {
"code": {
Expand All @@ -38,6 +29,15 @@
}
}
}
},
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
}
}
}
20 changes: 10 additions & 10 deletions gen/vince/v1/vince.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,7 @@
],
"paths": {},
"definitions": {
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
},
"rpcStatus": {
"googlerpcStatus": {
"type": "object",
"properties": {
"code": {
Expand All @@ -38,6 +29,15 @@
}
}
}
},
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
}
}
}
Loading

0 comments on commit 287cddc

Please sign in to comment.