Fixed up Swagger formatting.

This commit is contained in:
Patrick Connolly
2018-11-05 15:12:30 +08:00
parent b855dc8ec5
commit e873280794
5 changed files with 22 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2018-11-05 04:31:47.316226 +0800 CST m=+0.167027083
// 2018-11-05 15:12:37.21158 +0800 CST m=+0.084936216
package docs
@@ -33,11 +33,12 @@ var doc = `{
"parameters": [
{
"description": "Message object to create",
"name": "body",
"name": "message",
"in": "body",
"required": true,
"schema": {
"type": "object"
"type": "object",
"$ref": "#/definitions/config.Message"
}
}
],
@@ -57,7 +58,7 @@ var doc = `{
"produces": [
"application/json"
],
"summary": "List of new messages",
"summary": "List new messages",
"responses": {
"200": {
"description": "OK",
@@ -76,7 +77,7 @@ var doc = `{
"produces": [
"application/x-json-stream"
],
"summary": "Streams realtime messages",
"summary": "Stream realtime messages",
"responses": {
"200": {
"description": "OK",
@@ -94,7 +95,7 @@ var doc = `{
"type": "object",
"properties": {
"account": {
"description": "Unique account name of format \"\u003cprotocol\u003e.\u003cslug\u003e\"\n",
"description": "Unique account name of format \"[protocol].[slug]\"\n",
"type": "string",
"example": "slack.myteam"
},