Skip to content

Commit

Permalink
docs: openapi2 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shipperizer committed Nov 29, 2021
1 parent 8154fcb commit 2d911fd
Showing 1 changed file with 83 additions and 0 deletions.
83 changes: 83 additions & 0 deletions docs/apidocs.swagger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"swagger": "2.0",
"info": {
"title": "check/check.proto",
"version": "version not set"
},
"tags": [
{
"name": "CheckService"
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/api/v1/check": {
"get": {
"operationId": "CheckService_Check",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/check.v0.CheckResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/google.rpc.Status"
}
}
},
"tags": [
"CheckService"
]
}
}
},
"definitions": {
"check.v0.CheckResponse": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"status": {
"type": "string",
"format": "int64"
}
}
},
"google.protobuf.Any": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
},
"google.rpc.Status": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/google.protobuf.Any"
}
}
}
}
}
}

0 comments on commit 2d911fd

Please sign in to comment.