-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #410 from Mastermindzh/hotfix/swagger-issues
Hotfix/swagger issues
- Loading branch information
Showing
9 changed files
with
190 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
pull_request: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_on_linux: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
{ | ||
"openapi": "3.1.0", | ||
"info": { | ||
"title": "TIDAL Hi-Fi API", | ||
"version": "5.13.1", | ||
"description": "", | ||
"license": { | ||
"name": "MIT", | ||
"url": "https://github.com/Mastermindzh/tidal-hifi/blob/master/LICENSE" | ||
}, | ||
"contact": { | ||
"name": "Rick <mastermindzh> van Lieshout", | ||
"url": "https://www.rickvanlieshout.com" | ||
} | ||
}, | ||
"servers": [ | ||
{ | ||
"url": "http://localhost:47836" | ||
} | ||
], | ||
"externalDocs": { | ||
"description": "swagger.json", | ||
"url": "swagger.json" | ||
}, | ||
"paths": { | ||
"/settings/skipped-artists": { | ||
"get": { | ||
"summary": "get a list of artists that TIDAL Hi-Fi will skip if skipping is enabled", | ||
"tags": [ | ||
"settings" | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "The list book.", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/StringArray" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"post": { | ||
"summary": "Add new artists to the list of skipped artists", | ||
"tags": [ | ||
"settings" | ||
], | ||
"requestBody": { | ||
"required": true, | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/StringArray" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Ok" | ||
} | ||
} | ||
} | ||
}, | ||
"/settings/skipped-artists/delete": { | ||
"post": { | ||
"summary": "Remove artists from the list of skipped artists", | ||
"tags": [ | ||
"settings" | ||
], | ||
"requestBody": { | ||
"required": true, | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/StringArray" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Ok" | ||
} | ||
} | ||
} | ||
}, | ||
"/settings/skipped-artists/current": { | ||
"post": { | ||
"summary": "Add the current artist to the list of skipped artists", | ||
"tags": [ | ||
"settings" | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Ok" | ||
} | ||
} | ||
}, | ||
"delete": { | ||
"summary": "Remove the current artist from the list of skipped artists", | ||
"tags": [ | ||
"settings" | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Ok" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"components": { | ||
"schemas": { | ||
"StringArray": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"example": [ | ||
"Artist1", | ||
"Artist2" | ||
] | ||
} | ||
} | ||
}, | ||
"tags": [ | ||
{ | ||
"name": "settings", | ||
"description": "The settings management API" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters