Corrected details in swagger.yml
This commit is contained in:
parent
36def8c52c
commit
9ad3ed929f
1 changed files with 5 additions and 5 deletions
10
swagger.yml
10
swagger.yml
|
@ -798,15 +798,15 @@ paths:
|
|||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/Setting'
|
||||
'/settings/{settingId}':
|
||||
'/settings/{settingName}':
|
||||
get:
|
||||
tags:
|
||||
- settings
|
||||
summary: Get single setting
|
||||
parameters:
|
||||
- name: settingId
|
||||
- name: settingName
|
||||
in: path
|
||||
type: integer
|
||||
type: string
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -818,7 +818,7 @@ paths:
|
|||
- settings
|
||||
summary: Update single setting
|
||||
parameters:
|
||||
- name: settingId
|
||||
- name: settingName
|
||||
in: path
|
||||
type: integer
|
||||
required: true
|
||||
|
@ -836,7 +836,7 @@ paths:
|
|||
- settings
|
||||
summary: Delete single setting
|
||||
parameters:
|
||||
- name: settingId
|
||||
- name: settingName
|
||||
in: path
|
||||
type: integer
|
||||
required: true
|
||||
|
|
Loading…
Reference in a new issue