File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module.exports = (app, options) => {
1616 options . serializeLambdaArguments = options . serializeLambdaArguments !== undefined ? options . serializeLambdaArguments : false
1717 options . decorateRequest = options . decorateRequest !== undefined ? options . decorateRequest : true
1818 options . retainStage = options . retainStage !== undefined ? options . retainStage : false
19- options . proxiedPathParameterAsPath = options . proxiedPathParameterAsPath !== undefined ? options . proxiedPathParameterAsPath : false
19+ options . pathParameterUsedAsPath = options . pathParameterUsedAsPath !== undefined ? options . pathParameterUsedAsPath : false
2020 let currentAwsArguments = { }
2121 if ( options . decorateRequest ) {
2222 options . decorationPropertyName = options . decorationPropertyName || 'awsLambda'
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ declare namespace awsLambdaFastify {
1212 decorationPropertyName ?: string ;
1313 enforceBase64 ?: ( response : LightMyRequestResponse ) => boolean ;
1414 retainStage ?: boolean ;
15+ /**
16+ * usually set to 'proxy', if used
17+ */
18+ pathParameterUsedAsPath ?: string ;
1519 }
1620
1721 export interface LambdaResponse {
You can’t perform that action at this time.
0 commit comments