Fixed API description docs.

This commit is contained in:
Patrick Connolly
2018-11-29 04:32:58 +08:00
parent 77a932edb8
commit cdc942d676
4 changed files with 12 additions and 10 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-29 03:59:40.172197 +0800 CST m=+0.084842487
// 2018-11-29 04:32:21.768173 +0800 CST m=+0.082341511
package docs
@@ -11,7 +11,7 @@ import (
var doc = `{
"swagger": "2.0",
"info": {
"description": "OK",
"description": "A read/write API for the Matterbridge chat bridge.",
"title": "Matterbridge API",
"contact": {},
"license": {
@@ -23,7 +23,6 @@ var doc = `{
"paths": {
"/health": {
"get": {
"description": "OK",
"summary": "Checks if the server is alive.",
"responses": {
"200": {
@@ -42,6 +41,7 @@ var doc = `{
"ApiKeyAuth": []
}
],
"description": "Required fields: text, gateway. Optional fields: username, avatar.",
"consumes": [
"application/json"
],

View File

@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"description": "OK",
"description": "A read/write API for the Matterbridge chat bridge.",
"title": "Matterbridge API",
"contact": {},
"license": {
@@ -13,7 +13,6 @@
"paths": {
"/health": {
"get": {
"description": "OK",
"summary": "Checks if the server is alive.",
"responses": {
"200": {
@@ -32,6 +31,7 @@
"ApiKeyAuth": []
}
],
"description": "Required fields: text, gateway. Optional fields: username, avatar.",
"consumes": [
"application/json"
],

View File

@@ -65,7 +65,7 @@ definitions:
type: object
info:
contact: {}
description: OK
description: A read/write API for the Matterbridge chat bridge.
license:
name: Apache 2.0
url: https://github.com/42wim/matterbridge/blob/master/LICENSE
@@ -73,7 +73,6 @@ info:
paths:
/health:
get:
description: OK
responses:
"200":
description: OK
@@ -84,6 +83,7 @@ paths:
post:
consumes:
- application/json
description: 'Required fields: text, gateway. Optional fields: username, avatar.'
parameters:
- description: Message object to create
in: body