OaParameterExtensions.ToParameterLocation method
Convert to Microsoft.OpenApi ParameterLocation.
public static ParameterLocation ToParameterLocation(this OaParameterLocation location)
| parameter | description |
|---|---|
| location | The OaParameterLocation value. |
Return Value
The corresponding ParameterLocation value.
Exceptions
| exception | condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when the location is not recognized. |
See Also
- class OaParameterExtensions
- namespace Kestrun.OpenApi