Skip to content

Commit 95919aa

Browse files
committed
Update parameter resolution logic to handle 'PROCESSING' state in schema conversion
1 parent 77a09f2 commit 95919aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libV2/schemaUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ let QUERYPARAM = 'query',
684684
let { parametersResolution } = context.computedOptions;
685685

686686
// Override default value to schema for CONVERSION only for parmeter resolution set to schema
687-
if (resolveFor === CONVERSION && parametersResolution === 'schema') {
687+
if ((resolveFor === CONVERSION || resolveFor === 'PROCESSING') && parametersResolution === 'schema') {
688688
if (!schema.hasOwnProperty('format')) {
689689
schema.default = '<' + schema.type + '>';
690690
}

0 commit comments

Comments
 (0)