Upgraded Go version and the version of all dependencies. Fixed som more bugs.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
openapi: 3.0.3
|
||||
info:
|
||||
version: "3.0"
|
||||
version: "3.2"
|
||||
title: "Music Server"
|
||||
description: "Changed routing framework from mux to Gin. Swagger doc is now included in the application. A fronted can now be hosted from the application."
|
||||
description: "Upgraded Go version and the version of all dependencies. Fixed som more bugs."
|
||||
contact:
|
||||
email: "zarnor91@gmail.com"
|
||||
servers:
|
||||
@@ -36,21 +36,21 @@ paths:
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
description: "The speciefied file"
|
||||
description: "The specified file"
|
||||
content:
|
||||
audio/mpeg:
|
||||
schema:
|
||||
type: object
|
||||
format: binary
|
||||
"500":
|
||||
description: "Something wnet wrong on the server"
|
||||
/music/first:
|
||||
description: "Something went wrong on the server"
|
||||
/music/soundTest:
|
||||
get:
|
||||
tags:
|
||||
- "Music"
|
||||
summary: "Start a match"
|
||||
description: "Get a sound check song and starts a new song que"
|
||||
operationId: "getFisrt"
|
||||
summary: "Start a sound test"
|
||||
description: "Get a sound check song"
|
||||
operationId: "getSoundCheckSong"
|
||||
responses:
|
||||
"200":
|
||||
description: "A file"
|
||||
@@ -60,7 +60,7 @@ paths:
|
||||
type: object
|
||||
format: binary
|
||||
"500":
|
||||
description: "Something wnet wrong on the server"
|
||||
description: "Something went wrong on the server"
|
||||
/music/rand:
|
||||
get:
|
||||
tags:
|
||||
@@ -77,13 +77,13 @@ paths:
|
||||
type: object
|
||||
format: binary
|
||||
"500":
|
||||
description: "Something wnet wrong on the server"
|
||||
description: "Something went wrong on the server"
|
||||
/music/rand/low:
|
||||
get:
|
||||
tags:
|
||||
- "Music"
|
||||
summary: "Get random song"
|
||||
description: "Takes a random song from a random game but increases the chans for games that haven't been played"
|
||||
description: "Takes a random song from a random game but increases the chance for games that haven't been played"
|
||||
operationId: "getRandomLow"
|
||||
responses:
|
||||
"200":
|
||||
@@ -94,7 +94,7 @@ paths:
|
||||
type: object
|
||||
format: binary
|
||||
"500":
|
||||
description: "Something wnet wrong on the server"
|
||||
description: "Something went wrong on the server"
|
||||
/music/info:
|
||||
get:
|
||||
tags:
|
||||
@@ -110,7 +110,7 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/info'
|
||||
"500":
|
||||
description: "Something wnet wrong on the server"
|
||||
description: "Something went wrong on the server"
|
||||
/music/list:
|
||||
get:
|
||||
tags:
|
||||
@@ -145,7 +145,7 @@ paths:
|
||||
type: object
|
||||
format: binary
|
||||
"500":
|
||||
description: "Something wnet wrong on the server"
|
||||
description: "Something went wrong on the server"
|
||||
/music/previous:
|
||||
get:
|
||||
tags:
|
||||
@@ -162,7 +162,7 @@ paths:
|
||||
type: object
|
||||
format: binary
|
||||
"500":
|
||||
description: "Something wnet wrong on the server"
|
||||
description: "Something went wrong on the server"
|
||||
/music/all:
|
||||
get:
|
||||
tags:
|
||||
@@ -239,7 +239,7 @@ paths:
|
||||
tags:
|
||||
- "Music"
|
||||
summary: "Adds last song to que"
|
||||
description: "Adds the last featched song to the song que"
|
||||
description: "Adds the last fetched song to the song que"
|
||||
operationId: "addQue"
|
||||
responses:
|
||||
"200":
|
||||
|
||||
Reference in New Issue
Block a user