Parameter | Type | Description | Example |
---|---|---|---|
object | The API version information. | ||
enable | boolean | Specifies whether to enable versioning. | true |
scheme | string | The versioning solution. | Query |
headerName | string | The key in the specified header when the header versioning solution is used. | my-version |
queryName | string | The key in the specified query parameter when the query versioning solution is used. | myVersion |
version | string | The version number. | v1 |