Home > @codemonger-io/cdk-rest-api-with-spec > ParameterKey > (constructor)
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Constructs a new instance of the ParameterKey class
Signature:
constructor(
direction: 'request' | 'response',
name: string,
location: 'path' | 'query' | 'header',
explode: boolean);|
Parameter |
Type |
Description |
|---|---|---|
|
direction |
'request' | 'response' | |
|
name |
string | |
|
location |
'path' | 'query' | 'header' | |
|
explode |
boolean |