|
|
@ -1,5 +1,4 @@
|
|
|
|
OpenAPI Extensions
|
|
|
|
# OpenAPI Extensions
|
|
|
|
==================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For some functionality that is not directly provided by the OpenAPI v2
|
|
|
|
For some functionality that is not directly provided by the OpenAPI v2
|
|
|
|
specification, some extensions have been added that are to be consistent
|
|
|
|
specification, some extensions have been added that are to be consistent
|
|
|
@ -7,17 +6,16 @@ across the specification. The defined extensions are listed below. Extensions
|
|
|
|
should not break parsers, however if extra functionality is required, aware
|
|
|
|
should not break parsers, however if extra functionality is required, aware
|
|
|
|
parsers should be able to take advantage of the added syntax.
|
|
|
|
parsers should be able to take advantage of the added syntax.
|
|
|
|
|
|
|
|
|
|
|
|
Extensible Query Parameters
|
|
|
|
## Extensible Query Parameters
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If a unknown amount of query parameters can be added to a request, the
|
|
|
|
If a unknown amount of query parameters can be added to a request, the `name`
|
|
|
|
``name`` should be in form of ``something...``, with the trailing ellipses
|
|
|
|
must be `fields...`, with the trailing ellipses representing the possibility
|
|
|
|
representing the possibility of more fields.
|
|
|
|
of more fields.
|
|
|
|
|
|
|
|
|
|
|
|
Example:
|
|
|
|
Example:
|
|
|
|
|
|
|
|
|
|
|
|
.. code-block::
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: fields...
|
|
|
|
name: fields...
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
|
|
|
|
```
|