Merge pull request #4 from Maathias/api-documentation

fix: change /track/:id from integer to string
This commit was merged in pull request #4.
This commit is contained in:
Sebastian Fudalej authored and GitHub committed 2021-09-08 23:02:07 +02:00
commit e5c275eefd
2 files changed
+4 -5

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