Files
os-api-ref/os_api_ref/tests/examples/warnings/parameters.yaml
Karen Bradshaw 9c2d634246 Add test for missing path params
Add warning and test for missing path parameters.

Change-Id: I8686006339b82ed5465dd8e4d3a8b15f85ee897c
2016-10-31 12:03:01 -04:00

26 lines
417 B
YAML

# valid path parameter
server_id:
description: |
ID for server.
in: path
required: true
type: string
# These are out of order, this should be a warning.
name2:
in: body
required: false
type: string
description: |
foo
name:
in: body
required: true
type: string
description: |
The name of things
name_1:
description: |
name_1 is missing type field.
in: body
required: true