fix: change /track/:id from integer to string #4
No files matched your search
+1
-1
@@ -46,7 +46,7 @@
|
||||
window.onload = function () {
|
||||
// Begin Swagger UI call region
|
||||
const ui = SwaggerUIBundle({
|
||||
url: 'https://Maathias.github.io/radio-rolnik-api/swagger.yml',
|
||||
url: 'https://maathias.github.io/radio-rolnik-api/swagger.yml',
|
||||
dom_id: '#swagger-ui',
|
||||
deepLinking: true,
|
||||
presets: [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset],
|
||||
|
||||
+3
-4
@@ -17,18 +17,17 @@ schemes:
|
||||
- http
|
||||
- https
|
||||
paths:
|
||||
/track/{id}:
|
||||
/track/{TrackID}:
|
||||
get:
|
||||
tags:
|
||||
- track
|
||||
summary: Get track by track id
|
||||
operationId: getTrackById
|
||||
parameters:
|
||||
- name: id
|
||||
- name: TrackID
|
||||
in: path
|
||||
description: ID of track to return
|
||||
required: true
|
||||
type: integer
|
||||
type: string
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
|
||||
Reference in new issue
Block a user