Fixed missing api/v1 prefix in swagger documentation
This commit is contained in:
parent
62f401ed5a
commit
ef6342f46d
|
@ -175,7 +175,7 @@ paths:
|
||||||
type: "string"
|
type: "string"
|
||||||
example: "demo"
|
example: "demo"
|
||||||
|
|
||||||
/auth/registration/:
|
/api/v1/auth/registration/:
|
||||||
post:
|
post:
|
||||||
summary: Create an account
|
summary: Create an account
|
||||||
description: |
|
description: |
|
||||||
|
@ -211,7 +211,7 @@ paths:
|
||||||
responses:
|
responses:
|
||||||
201:
|
201:
|
||||||
$ref: "#/responses/201"
|
$ref: "#/responses/201"
|
||||||
/auth/password/reset/:
|
/api/v1/auth/password/reset/:
|
||||||
post:
|
post:
|
||||||
summary: Request a password reset
|
summary: Request a password reset
|
||||||
description: |
|
description: |
|
||||||
|
@ -232,7 +232,7 @@ paths:
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: "#/responses/200"
|
$ref: "#/responses/200"
|
||||||
/users/users/me/:
|
/api/v1/users/users/me/:
|
||||||
get:
|
get:
|
||||||
summary: Retrive profile information
|
summary: Retrive profile information
|
||||||
description: |
|
description: |
|
||||||
|
@ -560,7 +560,7 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/definitions/ResourceNotFound"
|
$ref: "#/definitions/ResourceNotFound"
|
||||||
/listen/{uuid}/:
|
/api/v1/listen/{uuid}/:
|
||||||
get:
|
get:
|
||||||
summary: Download the audio file matching the given track uuid
|
summary: Download the audio file matching the given track uuid
|
||||||
description: |
|
description: |
|
||||||
|
@ -675,7 +675,7 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/definitions/ResourceNotFound"
|
$ref: "#/definitions/ResourceNotFound"
|
||||||
|
|
||||||
/libraries/:
|
/api/v1/libraries/:
|
||||||
get:
|
get:
|
||||||
summary: List owned libraries
|
summary: List owned libraries
|
||||||
tags:
|
tags:
|
||||||
|
@ -713,7 +713,7 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/definitions/OwnedLibraryCreate"
|
$ref: "#/definitions/OwnedLibraryCreate"
|
||||||
|
|
||||||
/libraries/{uuid}/:
|
/api/v1/libraries/{uuid}/:
|
||||||
parameters:
|
parameters:
|
||||||
- name: uuid
|
- name: uuid
|
||||||
in: path
|
in: path
|
||||||
|
@ -758,7 +758,7 @@ paths:
|
||||||
204:
|
204:
|
||||||
$ref: "#/responses/204"
|
$ref: "#/responses/204"
|
||||||
|
|
||||||
/uploads/:
|
/api/v1/uploads/:
|
||||||
get:
|
get:
|
||||||
summary: List owned uploads
|
summary: List owned uploads
|
||||||
tags:
|
tags:
|
||||||
|
@ -819,7 +819,7 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
format: binary
|
format: binary
|
||||||
|
|
||||||
/uploads/{uuid}/:
|
/api/v1/uploads/{uuid}/:
|
||||||
parameters:
|
parameters:
|
||||||
- name: uuid
|
- name: uuid
|
||||||
in: path
|
in: path
|
||||||
|
@ -848,7 +848,7 @@ paths:
|
||||||
204:
|
204:
|
||||||
$ref: "#/responses/204"
|
$ref: "#/responses/204"
|
||||||
|
|
||||||
/favorites/tracks/:
|
/api/v1/favorites/tracks/:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- "Content curation"
|
- "Content curation"
|
||||||
|
@ -913,7 +913,7 @@ paths:
|
||||||
example: 98
|
example: 98
|
||||||
creation_date:
|
creation_date:
|
||||||
$ref: "#/properties/creation_date"
|
$ref: "#/properties/creation_date"
|
||||||
/favorites/tracks/remove/:
|
/api/v1/favorites/tracks/remove/:
|
||||||
post:
|
post:
|
||||||
summary: Remove the given track from favorites
|
summary: Remove the given track from favorites
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in New Issue