Make sure examples types match schema in definitions (#1563)
* Make sure examples types match schema in definitions Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add changelogs Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add double quotes around URL Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> --------- Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
6521411547
commit
bed9223610
13 changed files with 17 additions and 15 deletions
|
@ -29,7 +29,7 @@ paths:
|
|||
name: sid
|
||||
description: The Session ID generated by the `requestToken` call.
|
||||
required: true
|
||||
example: 1234
|
||||
example: "1234"
|
||||
schema:
|
||||
type: string
|
||||
- in: query
|
||||
|
|
|
@ -186,7 +186,7 @@ paths:
|
|||
name: sid
|
||||
required: true
|
||||
description: The session ID, generated by the `requestToken` call.
|
||||
example: 1234
|
||||
example: "1234"
|
||||
schema:
|
||||
type: string
|
||||
- in: query
|
||||
|
|
|
@ -188,7 +188,7 @@ paths:
|
|||
name: sid
|
||||
required: true
|
||||
description: The session ID, generated by the `requestToken` call.
|
||||
example: 1234
|
||||
example: "1234"
|
||||
schema:
|
||||
type: string
|
||||
- in: query
|
||||
|
|
|
@ -131,7 +131,7 @@ paths:
|
|||
items:
|
||||
type: string
|
||||
description: The URLs the user is accepting in this request.
|
||||
example: https://example.org/somewhere/terms-2.0-en.html
|
||||
example: ["https://example.org/somewhere/terms-2.0-en.html"]
|
||||
required:
|
||||
- user_accepts
|
||||
responses:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue