Commit ce1442f
fix: published REST operation parameter schema for mx check 11.9.0
The published REST service writer was emitting parameter BSON with the
wrong field structure, causing four mx check errors:
- CE0845: 'Please enter a type for parameter id' — DataType was a bare
string 'String' instead of a structured DataTypes\$StringType object
- CE6538: 'Parameter id is not passed to a microflow parameter' — the
MicroflowParameter field was missing entirely
- CE0350 / CE0352: cascading errors from the missing MicroflowParameter
The Rest\$RestOperationParameter schema actually requires:
- Type: structured DataTypes\$StringType object (not 'DataType' string)
- ParameterType: 'Path' (vs Query/Header/Body)
- MicroflowParameter: qualified name 'Module.Microflow.paramName'
By convention, the path parameter name must match a microflow parameter
name so they can be wired automatically.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4000f8b commit ce1442f
1 file changed
+25
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
| 359 | + | |
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
398 | 406 | | |
399 | 407 | | |
400 | 408 | | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
401 | 414 | | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
407 | 425 | | |
408 | 426 | | |
409 | 427 | | |
| |||
0 commit comments