({ fn: s, getSystem: o })
| 72029 | ) |
| 72030 | }, |
| 72031 | QI = createOnlyOAS31ComponentWrapper(keywords_Properties) |
| 72032 | const ZI = function oas31_after_load_afterLoad({ fn: s, getSystem: o }) { |
| 72033 | if (s.jsonSchema202012) { |
| 72034 | const i = ((s, o) => { |
| 72035 | const { fn: i } = o() |
| 72036 | if ('function' != typeof s) return null |
| 72037 | const { hasKeyword: a } = i.jsonSchema202012 |
| 72038 | return (o) => |
| 72039 | s(o) || a(o, 'example') || o?.xml || o?.discriminator || o?.externalDocs |
| 72040 | })(s.jsonSchema202012.isExpandable, o) |
| 72041 | Object.assign(this.fn.jsonSchema202012, { isExpandable: i, getProperties }) |
| 72042 | } |
| 72043 | if ('function' == typeof s.sampleFromSchema && s.jsonSchema202012) { |
| 72044 | const i = wrapOAS31Fn( |
| 72045 | { |
| 72046 | sampleFromSchema: s.jsonSchema202012.sampleFromSchema, |
| 72047 | sampleFromSchemaGeneric: s.jsonSchema202012.sampleFromSchemaGeneric, |
| 72048 | createXMLExample: s.jsonSchema202012.createXMLExample, |
| 72049 | memoizedSampleFromSchema: s.jsonSchema202012.memoizedSampleFromSchema, |
| 72050 | memoizedCreateXMLExample: s.jsonSchema202012.memoizedCreateXMLExample, |
| 72051 | getJsonSampleSchema: s.jsonSchema202012.getJsonSampleSchema, |
| 72052 | getYamlSampleSchema: s.jsonSchema202012.getYamlSampleSchema, |
| 72053 | getXmlSampleSchema: s.jsonSchema202012.getXmlSampleSchema, |
| 72054 | getSampleSchema: s.jsonSchema202012.getSampleSchema, |
| 72055 | mergeJsonSchema: s.jsonSchema202012.mergeJsonSchema, |
| 72056 | getSchemaObjectTypeLabel: (o) => s.jsonSchema202012.getType(immutableToJS(o)), |
| 72057 | getSchemaObjectType: (o) => s.jsonSchema202012.foldType(immutableToJS(o)?.type), |
| 72058 | }, |
| 72059 | o() |
| 72060 | ) |
| 72061 | Object.assign(this.fn, i) |
| 72062 | } |
| 72063 | const i = ( |
| 72064 | (s) => |
| 72065 | (o, i = null) => { |
| 72066 | const { fn: a } = s() |
| 72067 | if (a.isFileUploadIntendedOAS30(o, i)) return !0 |
| 72068 | const u = ze.Map.isMap(o) |
| 72069 | if (!u && !as()(o)) return !1 |
| 72070 | const _ = u ? o.get('contentMediaType') : o.contentMediaType, |
| 72071 | w = u ? o.get('contentEncoding') : o.contentEncoding |
| 72072 | return ('string' == typeof _ && '' !== _) || ('string' == typeof w && '' !== w) |
| 72073 | } |
| 72074 | )(o), |
| 72075 | { isFileUploadIntended: a } = wrapOAS31Fn({ isFileUploadIntended: i }, o()) |
| 72076 | if ( |
| 72077 | ((this.fn.isFileUploadIntended = a), |
| 72078 | (this.fn.isFileUploadIntendedOAS31 = i), |
| 72079 | s.jsonSchema202012) |
| 72080 | ) { |
| 72081 | const { hasSchemaType: i } = wrapOAS31Fn( |
| 72082 | { hasSchemaType: s.jsonSchema202012.hasSchemaType }, |
| 72083 | o() |
| 72084 | ) |
| 72085 | this.fn.hasSchemaType = i |
| 72086 | } |
| 72087 | }, |
| 72088 | oas31 = ({ fn: s }) => { |
nothing calls this directly
no test coverage detected