Corrected details in swagger.yml

This commit is contained in:
Alex Tselegidis 2020-12-11 21:17:16 +02:00
parent 36def8c52c
commit 9ad3ed929f

View file

@ -798,15 +798,15 @@ paths:
schema: schema:
items: items:
$ref: '#/definitions/Setting' $ref: '#/definitions/Setting'
'/settings/{settingId}': '/settings/{settingName}':
get: get:
tags: tags:
- settings - settings
summary: Get single setting summary: Get single setting
parameters: parameters:
- name: settingId - name: settingName
in: path in: path
type: integer type: string
required: true required: true
responses: responses:
'200': '200':
@ -818,7 +818,7 @@ paths:
- settings - settings
summary: Update single setting summary: Update single setting
parameters: parameters:
- name: settingId - name: settingName
in: path in: path
type: integer type: integer
required: true required: true
@ -836,7 +836,7 @@ paths:
- settings - settings
summary: Delete single setting summary: Delete single setting
parameters: parameters:
- name: settingId - name: settingName
in: path in: path
type: integer type: integer
required: true required: true