(s, { isOAS3: o } = {})
| 30943 | 'multipleOf' |
| 30944 | ) |
| 30945 | function getParameterSchema(s, { isOAS3: o } = {}) { |
| 30946 | if (!We().Map.isMap(s)) return { schema: We().Map(), parameterContentMediaType: null } |
| 30947 | if (!o) |
| 30948 | return 'body' === s.get('in') |
| 30949 | ? { schema: s.get('schema', We().Map()), parameterContentMediaType: null } |
| 30950 | : { schema: s.filter((s, o) => At.includes(o)), parameterContentMediaType: null } |
| 30951 | if (s.get('content')) { |
| 30952 | const o = s.get('content', We().Map({})).keySeq().first() |
| 30953 | return { |
| 30954 | schema: s.getIn(['content', o, 'schema'], We().Map()), |
| 30955 | parameterContentMediaType: o, |
| 30956 | } |
| 30957 | } |
| 30958 | return { |
| 30959 | schema: s.get('schema') ? s.get('schema', We().Map()) : We().Map(), |
| 30960 | parameterContentMediaType: null, |
| 30961 | } |
| 30962 | } |
| 30963 | var Ct = __webpack_require__(48287).Buffer |
| 30964 | const jt = 'default', |
| 30965 | isImmutable = (s) => We().Iterable.isIterable(s), |
no test coverage detected