fix: change /track/:id from integer to string #4

Merged
sebafudi merged 1 commits from api-documentation into master 2021-09-08 23:02:07 +02:00
2 changed files with 4 additions and 5 deletions

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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