Updated API version in api and ws files

This commit is contained in:
Tarcisio Gruppi
2019-01-18 18:12:19 -02:00
parent 90048a09de
commit 72c21482b8
9 changed files with 64 additions and 64 deletions

View File

@@ -9,11 +9,11 @@ import (
/**
* @api {post} /sessions Create a new Session
* @apiVersion 1.0.1
* @apiVersion 1.1.0
* @apiName PostSession
* @apiGroup Session
*
* @apiHeader {String} Accept-Version ^1.0.1 semver versioning
* @apiHeader {String} Accept-Version ^1.1.0 semver versioning
* @apiHeader {String} Authorization HTTP Basic Auth
*
* @apiParam {String} id 32 character hex string
@@ -59,12 +59,12 @@ func PostSession(w rest.ResponseWriter, r *rest.Request) {
/**
* @api {delete} /sessions/:sessionId Log out of a Session
* @apiVersion 1.0.1
* @apiVersion 1.1.0
* @apiName DeleteSession
* @apiGroup Session
*
* @apiHeader {String} Authorization HTTP Basic Auth
* @apiHeader {String} Accept-Version ^1.0.1 semver versioning
* @apiHeader {String} Accept-Version ^1.1.0 semver versioning
*
* @apiSuccessExample Success-Response:
* HTTP/1.1 200 OK