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:
Kévin Commaille 2023-07-04 20:32:47 +02:00 committed by GitHub
parent 6521411547
commit bed9223610
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 17 additions and 15 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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: