Move TODO. field1, field2... -> fields...

This commit is contained in:
user 2018-07-30 19:19:35 +01:00
parent a2e2ced03b
commit 5f8967c074
3 changed files with 6 additions and 5 deletions

View file

@ -321,7 +321,7 @@ paths:
required: true
x-example: irc
- in: query
name: field...
name: fields...
type: string
description: |-
One or more custom fields that are passed to the application

View file

@ -129,9 +129,8 @@ paths:
The name of the protocol.
required: true
x-example: irc
# TODO: Change to 'explode' after OpenAPI/Swagger v3 update
- in: query
name: field1, field2...
name: fields...
type: string
description: |-
One or more custom fields that are passed to the AS to help identify the user.

View file

@ -8,6 +8,8 @@ parsers should be able to take advantage of the added syntax.
## Extensible Query Parameters
<!-- TODO: Remove and change instances to 'explode' after OpenAPI/Swagger v3 update -->
If a unknown amount of query parameters can be added to a request, the `name`
must be `fields...`, with the trailing ellipses representing the possibility
of more fields.