()
| 61735 | a = s.get('anyOf')?.get(0)?.toJS() |
| 61736 | return (0, ze.fromJS)(o.mergeJsonSchema(s.toJS(), i ?? a ?? {})) |
| 61737 | } |
| 61738 | render() { |
| 61739 | let { |
| 61740 | param: s, |
| 61741 | rawParam: o, |
| 61742 | getComponent: i, |
| 61743 | getConfigs: a, |
| 61744 | isExecute: u, |
| 61745 | fn: _, |
| 61746 | onChangeConsumes: w, |
| 61747 | specSelectors: x, |
| 61748 | pathMethod: C, |
| 61749 | specPath: j, |
| 61750 | oas3Selectors: L, |
| 61751 | } = this.props, |
| 61752 | B = x.isOAS3() |
| 61753 | const { showExtensions: $, showCommonExtensions: U } = a() |
| 61754 | if ((s || (s = o), !o)) return null |
| 61755 | const V = i('JsonSchemaForm'), |
| 61756 | z = i('ParamBody') |
| 61757 | let Y = s.get('in'), |
| 61758 | Z = |
| 61759 | 'body' !== Y |
| 61760 | ? null |
| 61761 | : Re.createElement(z, { |
| 61762 | getComponent: i, |
| 61763 | getConfigs: a, |
| 61764 | fn: _, |
| 61765 | param: s, |
| 61766 | consumes: x.consumesOptionsFor(C), |
| 61767 | consumesValue: x.contentTypeValues(C).get('requestContentType'), |
| 61768 | onChange: this.onChangeWrapper, |
| 61769 | onChangeConsumes: w, |
| 61770 | isExecute: u, |
| 61771 | specSelectors: x, |
| 61772 | pathMethod: C, |
| 61773 | }) |
| 61774 | const ee = i('modelExample'), |
| 61775 | ie = i('Markdown', !0), |
| 61776 | ae = i('ParameterExt'), |
| 61777 | ce = i('ParameterIncludeEmpty'), |
| 61778 | le = i('ExamplesSelectValueRetainer'), |
| 61779 | pe = i('Example') |
| 61780 | let { schema: de } = getParameterSchema(s, { isOAS3: B }), |
| 61781 | fe = x.parameterWithMetaByIdentity(C, o) || (0, ze.Map)() |
| 61782 | const ye = fe |
| 61783 | .get('content', (0, ze.Map)()) |
| 61784 | .keySeq() |
| 61785 | .first() |
| 61786 | B && (de = this.composeJsonSchema(de)) |
| 61787 | let be = de ? de.get('format') : null, |
| 61788 | _e = 'formData' === Y, |
| 61789 | Se = 'FormData' in lt, |
| 61790 | we = s.get('required') |
| 61791 | const xe = _.getSchemaObjectType(de), |
| 61792 | Pe = _.getSchemaObjectType(de?.get('items')), |
| 61793 | Te = _.getSchemaObjectTypeLabel(de), |
| 61794 | $e = !Z && 'object' === xe, |
nothing calls this directly
no test coverage detected