
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
20 lines
308 B
YAML
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 |