|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The API versioning configuration. |
||
| enable |
boolean |
Indicates whether versioning control is enabled. |
true |
| scheme |
string |
The versioning scheme. |
Query |
| headerName |
string |
The key in the specified header parameter when the header-based versioning scheme is used. |
my-version |
| queryName |
string |
The key in the specified query parameter when the query parameter-based versioning scheme is used. |
myVersion |
| version |
string |
The version number. |
v1 |