Files
os-api-ref/os_api_ref/tests/examples/microversions/parameters.yaml
Sean Dague 87a4b66d86 fix microversion parsing in parameters.yaml
This fixes the parsing of min_version and max_version in
parameters.yaml by treating things that look like floats as
strings. Otherwise 2.20 ends up folding to 2.2, which is definitely
not intentional.

This also adds a set of tests for microversion class setting in both
parameters in tables as well as in the method itself.

Change-Id: If2713fc4038e69d113cdaa7db0231a1d03f6223b
2016-05-27 16:04:42 -04:00

20 lines
308 B
YAML

name:
in: body
required: true
type: string
description: |
The name of things
name2:
in: body
required: true
type: string
description: |
The name of things
min_version: 2.11
name3:
in: body
required: true
type: string
description: |
The name of things
max_version: 2.20