Skip to content

Latest commit

 

History

History
97 lines (47 loc) · 1.23 KB

File metadata and controls

97 lines (47 loc) · 1.23 KB

Home > @codemonger-io/cdk-rest-api-with-spec > ParameterKey > (constructor)

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);

Parameters

Parameter

Type

Description

direction

'request' | 'response'

name

string

location

'path' | 'query' | 'header'

explode

boolean