c/p bug, fix operationIds, move rst docs to md

This commit is contained in:
Andrew Morgan 2018-07-23 14:38:52 +01:00 committed by user
parent 3e4962f211
commit 53137a3c53
4 changed files with 15 additions and 16 deletions

21
api/openapi_extensions.md Normal file
View file

@ -0,0 +1,21 @@
# OpenAPI Extensions
For some functionality that is not directly provided by the OpenAPI v2
specification, some extensions have been added that are to be consistent
across the specification. The defined extensions are listed below. Extensions
should not break parsers, however if extra functionality is required, aware
parsers should be able to take advantage of the added syntax.
## Extensible Query Parameters
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.
Example:
```
- in: query
name: fields...
type: string
```