_ = n(3408), O = n(897), S = n(5023), E = n(3529), P = n(8613), A = n(476), $ = n(7892), C = n(348), R = n(962), j = n(9527), T = n(2332), I = n(7020), N = n(9336), D = n(4628), L = n(6208), M = n(8786), F = n(9578), z = n(3467), U = n(472), V = n(525), B = n(3736), q = n(503), W = n(3807), H = n(3689), Y = n(78), K = n(1562), G = n(5839), Q = n(7557), X = n(5669); (t.rules = { spec: r.OasSpec, 'info-description': b.InfoDescription, 'info-contact': x.InfoContact, 'info-license': k.InfoLicense, 'info-license-url': A.InfoLicenseUrl, 'operation-2xx-response': o.Operation2xxResponse, 'operation-4xx-response': i.Operation4xxResponse, assertions: a.Assertions, 'operation-operationId-unique': s.OperationIdUnique, 'operation-parameters-unique': l.OperationParametersUnique, 'path-parameters-defined': c.PathParamsDefined, 'operation-tag-defined': u.OperationTagDefined, 'no-example-value-and-externalValue': p.NoExampleValueAndExternalValue, 'no-enum-type-mismatch': d.NoEnumTypeMismatch, 'no-path-trailing-slash': f.NoPathTrailingSlash, 'no-empty-servers': I.NoEmptyServers, 'path-declaration-must-exist': h.PathDeclarationMustExist, 'operation-operationId-url-safe': m.OperationIdUrlSafe, 'operation-operationId': M.OperationOperationId, 'operation-summary': F.OperationSummary, 'tags-alphabetical': g.TagsAlphabetical, 'no-server-example.com': y.NoServerExample, 'no-server-trailing-slash': v.NoServerTrailingSlash, 'tag-description': w.TagDescription, 'operation-description': _.OperationDescription, 'no-unused-components': O.NoUnusedComponents, 'path-not-include-query': S.PathNotIncludeQuery, 'path-params-defined': c.PathParamsDefined, 'parameter-description': E.ParameterDescription, 'operation-singular-tag': P.OperationSingularTag, 'operation-security-defined': $.OperationSecurityDefined, 'no-unresolved-refs': C.NoUnresolvedRefs, 'paths-kebab-case': j.PathsKebabCase, 'boolean-parameter-prefixes': R.BooleanParameterPrefixes, 'path-http-verbs-order': T.PathHttpVerbsOrder, 'no-invalid-media-type-examples': N.ValidContentExamples, 'no-identical-paths': D.NoIdenticalPaths, 'no-ambiguous-paths': z.NoAmbiguousPaths, 'no-undefined-server-variable': L.NoUndefinedServerVariable, 'no-servers-empty-enum': U.NoEmptyEnumServers, 'no-http-verbs-in-paths': V.NoHttpVerbsInPaths, 'path-excludes-patterns': H.PathExcludesPatterns, 'request-mime-type': B.RequestMimeType, 'response-mime-type': q.ResponseMimeType, 'path-segment-plural': W.PathSegmentPlural, 'no-invalid-schema-examples': Y.NoInvalidSchemaExamples, 'no-invalid-parameter-examples': K.NoInvalidParameterExamples, 'response-contains-header': G.ResponseContainsHeader, 'response-contains-property': Q.ResponseContainsProperty, 'scalar-property-missing-example': X.ScalarPropertyMissingExample }), (t.preprocessors = {}); }, 7020: function (e, t) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.NoEmptyServers = void 0), (t.NoEmptyServers = () => ({ DefinitionRoot(e, { report: t, location: n }) { e.hasOwnProperty('servers') ? (Array.isArray(e.servers) && 0 !== e.servers.length) || t({ message: 'Servers must be a non-empty array.', location: n.child(['servers']).key() }) : t({ message: 'Servers must be present.', location: n.child(['openapi']).key() }); } })); }, 1265: function (e, t) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.NoExampleValueAndExternalValue = void 0), (t.NoExampleValueAndExternalValue = () => ({ Example(e, { report: t, location: n }) { e.value && e.externalValue && t({ message: 'Example object can have either \`value\` or \`externalValue\` fields.', location: n.child(['value']).key() }); } })); }, 9336: function (e, t, n) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.ValidContentExamples = void 0); const r = n(7468), o = n(780); t.ValidContentExamples = e => { var t; const n = null === (t = e.disallowAdditionalProperties) || void 0 === t || t; return { MediaType: { leave(e, t) { const { location: i, resolve: a } = t; if (e.schema) if (e.example) s(e.example, i.child('example')); else if (e.examples) for (const t of Object.keys(e.examples)) s(e.examples[t], i.child(['examples', t, 'value']), !0); function s(i, s, l) { if (r.isRef(i)) { const e = a(i); if (!e.location) return; (s = l ? e.location.child('value') : e.location), (i = e.node); } o.validateExample(l ? i.value : i, e.schema, s, t, n); } } } }; }; }, 5486: function (e, t) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.NoServerExample = void 0), (t.NoServerExample = () => ({ Server(e, { report: t, location: n }) { -1 !== ['example.com', 'localhost'].indexOf(e.url) && t({ message: 'Server \`url\` should not point at example.com.', location: n.child(['url']) }); } })); }, 2947: function (e, t) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.NoServerTrailingSlash = void 0), (t.NoServerTrailingSlash = () => ({ Server(e, { report: t, location: n }) { e.url && e.url.endsWith('/') && '/' !== e.url && t({ message: 'Server \`url\` should not have a trailing slash.', location: n.child(['url']) }); } })); }, 472: function (e, t) { 'use strict'; var n; function r(e) { var t; if (e.variables && 0 === Object.keys(e.variables).length) return; const r = []; for (var o in e.variables) { const i = e.variables[o]; if (!i.enum) continue; if ( (Array.isArray(i.enum) && 0 === (null === (t = i.enum) || void 0 === t ? void 0 : t.length) && r.push(n.empty), !i.default) ) continue; const a = e.variables[o].default; i.enum && !i.enum.includes(a) && r.push(n.invalidDefaultValue); } return r.length ? r : void 0; } Object.defineProperty(t, '__esModule', { value: !0 }), (t.NoEmptyEnumServers = void 0), (function (e) { (e.empty = 'empty'), (e.invalidDefaultValue = 'invalidDefaultValue'); })(n || (n = {})), (t.NoEmptyEnumServers = () => ({ DefinitionRoot(e, { report: t, location: o }) { if (!e.servers || 0 === e.servers.length) return; const i = []; if (Array.isArray(e.servers)) for (const t of e.servers) { const e = r(t); e && i.push(...e); } else { const t = r(e.servers); if (!t) return; i.push(...t); } for (const e of i) e === n.empty && t({ message: 'Server variable with \`enum\` must be a non-empty array.', location: o.child(['servers']).key() }), e === n.invalidDefaultValue && t({ message: 'Server variable define \`enum\` and \`default\`. \`enum\` must include default value', location: o.child(['servers']).key() }); } })); }, 6208: function (e, t) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.NoUndefinedServerVariable = void 0), (t.NoUndefinedServerVariable = () => ({ Server(e, { report: t, location: n }) { var r; if (!e.url) return; const o = (null === (r = e.url.match(/{[^}]+}/g)) || void 0 === r ? void 0 : r.map(e => e.slice(1, e.length - 1))) || [], i = ((null == e ? void 0 : e.variables) && Object.keys(e.variables)) || []; for (const e of o) i.includes(e) || t({ message: \`The \\\`\${e}\\\` variable is not defined in the \\\`variables\\\` objects.\`, location: n.child(['url']) }); for (const e of i) o.includes(e) || t({ message: \`The \\\`\${e}\\\` variable is not used in the server's \\\`url\\\` field.\`, location: n.child(['variables', e]).key(), from: n.child('url') }); } })); }, 897: function (e, t) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.NoUnusedComponents = void 0), (t.NoUnusedComponents = () => { let e = new Map(); function t(t, n) { var r; e.set(t.absolutePointer, { used: (null === (r = e.get(t.absolutePointer)) || void 0 === r ? void 0 : r.used) || !1, location: t, name: n }); } return { ref(t, { type: n, resolve: r, key: o, location: i }) { if ( [ 'Schema', 'Header', 'Parameter', 'Response', 'Example', 'RequestBody' ].includes(n.name) ) { const n = r(t); if (!n.location) return; e.set(n.location.absolutePointer, { used: !0, name: o.toString(), location: i }); } }, DefinitionRoot: { leave(t, { report: n }) { e.forEach(e => { e.used || n({ message: \`Component: "\${e.name}" is never used.\`, location: e.location.key() }); }); } }, NamedSchemas: { Schema(e, { location: n, key: r }) { e.allOf || t(n, r.toString()); } }, NamedParameters: { Parameter(e, { location: n, key: r }) { t(n, r.toString()); } }, NamedResponses: { Response(e, { location: n, key: r }) { t(n, r.toString()); } }, NamedExamples: { Example(e, { location: n, key: r }) { t(n, r.toString()); } }, NamedRequestBodies: { RequestBody(e, { location: n, key: r }) { t(n, r.toString()); } }, NamedHeaders: { Header(e, { location: n, key: r }) { t(n, r.toString()); } } }; }); }, 6350: function (e, t, n) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.RemoveUnusedComponents = void 0); const r = n(771); t.RemoveUnusedComponents = () => { let e = new Map(); function t(t, n, r) { var o; e.set(t.absolutePointer, { used: (null === (o = e.get(t.absolutePointer)) || void 0 === o ? void 0 : o.used) || !1, componentType: n, name: r }); } return { ref: { leave(t, { type: n, resolve: r, key: o }) { if ( [ 'Schema', 'Header', 'Parameter', 'Response', 'Example', 'RequestBody' ].includes(n.name) ) { const n = r(t); if (!n.location) return; e.set(n.location.absolutePointer, { used: !0, name: o.toString() }); } } }, DefinitionRoot: { leave(t, n) { const o = n.getVisitorData(); (o.removedCount = 0), e.forEach(e => { const { used: n, componentType: i, name: a } = e; if (!n && i) { let e = t.components[i]; delete e[a], o.removedCount++, r.isEmptyObject(e) && delete t.components[i]; } }), r.isEmptyObject(t.components) && delete t.components; } }, NamedSchemas: { Schema(e, { location: n, key: r }) { e.allOf || t(n, 'schemas', r.toString()); } }, NamedParameters: { Parameter(e, { location: n, key: r }) { t(n, 'parameters', r.toString()); } }, NamedResponses: { Response(e, { location: n, key: r }) { t(n, 'responses', r.toString()); } }, NamedExamples: { Example(e, { location: n, key: r }) { t(n, 'examples', r.toString()); } }, NamedRequestBodies: { RequestBody(e, { location: n, key: r }) { t(n, 'requestBodies', r.toString()); } }, NamedHeaders: { Header(e, { location: n, key: r }) { t(n, 'headers', r.toString()); } } }; }; }, 3736: function (e, t, n) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.RequestMimeType = void 0); const r = n(771); t.RequestMimeType = ({ allowedValues: e }) => ({ PathMap: { RequestBody: { leave(t, n) { r.validateMimeTypeOAS3({ type: 'consumes', value: t }, n, e); } }, Callback: { RequestBody() {}, Response: { leave(t, n) { r.validateMimeTypeOAS3( { type: 'consumes', value: t }, n, e ); } } } }, WebhooksMap: { Response: { leave(t, n) { r.validateMimeTypeOAS3({ type: 'consumes', value: t }, n, e); } } } }); }, 7557: function (e, t, n) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.ResponseContainsProperty = void 0); const r = n(771); t.ResponseContainsProperty = e => { const t = e.names || {}; let n; return { Operation: { Response: { skip: (e, t) => '204' == \`\${t}\`, enter: (e, t) => { n = t.key; }, MediaType: { Schema(e, { report: o, location: i }) { var a; if ('object' !== e.type) return; const s = t[n] || t[r.getMatchingStatusCodeRange(n)] || t[r.getMatchingStatusCodeRange(n).toLowerCase()] || []; for (const t of s) (null === (a = e.properties) || void 0 === a ? void 0 : a[t]) || o({ message: \`Response object must contain a top-level "\${t}" property.\`, location: i.child('properties').key() }); } } } } }; }; }, 503: function (e, t, n) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.ResponseMimeType = void 0); const r = n(771); t.ResponseMimeType = ({ allowedValues: e }) => ({ PathMap: { Response: { leave(t, n) { r.validateMimeTypeOAS3({ type: 'produces', value: t }, n, e); } }, Callback: { Response() {}, RequestBody: { leave(t, n) { r.validateMimeTypeOAS3( { type: 'produces', value: t }, n, e ); } } } }, WebhooksMap: { RequestBody: { leave(t, n) { r.validateMimeTypeOAS3({ type: 'produces', value: t }, n, e); } } } }); }, 780: function (e, t, n) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.validateExample = t.getSuggest = t.validateDefinedAndNonEmpty = t.fieldNonEmpty = t.missingRequiredField = t.matchesJsonSchemaType = t.oasTypeOf = void 0); const r = n(9991), o = n(7468), i = n(7275); function a(e, t) { return \`\${e} object should contain \\\`\${t}\\\` field.\`; } function s(e, t) { return \`\${e} object \\\`\${t}\\\` must be non-empty string.\`; } (t.oasTypeOf = function (e) { return Array.isArray(e) ? 'array' : null === e ? 'null' : typeof e; }), (t.matchesJsonSchemaType = function (e, t, n) { if (n && null === e) return null === e; switch (t) { case 'array': return Array.isArray(e); case 'object': return ( 'object' == typeof e && null !== e && !Array.isArray(e) ); case 'null': return null === e; case 'integer': return Number.isInteger(e); default: return typeof e === t; } }), (t.missingRequiredField = a), (t.fieldNonEmpty = s), (t.validateDefinedAndNonEmpty = function (e, t, n) { 'object' == typeof t && (void 0 === t[e] ? n.report({ message: a(n.type.name, e), location: n.location.child([e]).key() }) : t[e] || n.report({ message: s(n.type.name, e), location: n.location.child([e]).key() })); }), (t.getSuggest = function (e, t) { if ('string' != typeof e || !t.length) return []; const n = []; for (let o = 0; o < t.length; o++) { const i = r(e, t[o]); i < 4 && n.push({ distance: i, variant: t[o] }); } return ( n.sort((e, t) => e.distance - t.distance), n.map(e => e.variant) ); }), (t.validateExample = function ( e, t, n, { resolve: r, location: a, report: s }, l ) { try { const { valid: c, errors: u } = i.validateJsonSchema( e, t, a.child('schema'), n.pointer, r, l ); if (!c) for (let e of u) s({ message: \`Example value must conform to the schema: \${e.message}.\`, location: Object.assign( Object.assign( {}, new o.Location(n.source, e.instancePath) ), { reportOnKey: 'additionalProperties' === e.keyword } ), from: a, suggest: e.suggest }); } catch (e) { s({ message: \`Example validation errored: \${e.message}.\`, location: a.child('schema'), from: a }); } }); }, 5220: function (e, t) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.isNamedType = t.normalizeTypes = t.mapOf = t.listOf = void 0), (t.listOf = function (e) { return { name: \`\${e}List\`, properties: {}, items: e }; }), (t.mapOf = function (e) { return { name: \`\${e}Map\`, properties: {}, additionalProperties: () => e }; }), (t.normalizeTypes = function (e, t = {}) { const n = {}; for (const t of Object.keys(e)) n[t] = Object.assign(Object.assign({}, e[t]), { name: t }); for (const e of Object.values(n)) r(e); return n; function r(e) { if ( (e.additionalProperties && (e.additionalProperties = o(e.additionalProperties)), e.items && (e.items = o(e.items)), e.properties) ) { const n = {}; for (const [r, i] of Object.entries(e.properties)) (n[r] = o(i)), t.doNotResolveExamples && i && i.isExample && (n[r] = Object.assign(Object.assign({}, i), { resolvable: !1 })); e.properties = n; } } function o(e) { if ('string' == typeof e) { if (!n[e]) throw new Error(\`Unknown type name found: \${e}\`); return n[e]; } return 'function' == typeof e ? (t, n) => o(e(t, n)) : e && e.name ? (r((e = Object.assign({}, e))), e) : e && e.directResolveAs ? Object.assign(Object.assign({}, e), { directResolveAs: o(e.directResolveAs) }) : e; } }), (t.isNamedType = function (e) { return 'string' == typeof (null == e ? void 0 : e.name); }); }, 388: function (e, t, n) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.Oas2Types = void 0); const r = n(5220), o = /^[0-9][0-9Xx]{2}$/, i = { properties: { swagger: { type: 'string' }, info: 'Info', host: { type: 'string' }, basePath: { type: 'string' }, schemes: { type: 'array', items: { type: 'string' } }, consumes: { type: 'array', items: { type: 'string' } }, produces: { type: 'array', items: { type: 'string' } }, paths: 'PathMap', definitions: 'NamedSchemas', parameters: 'NamedParameters', responses: 'NamedResponses', securityDefinitions: 'NamedSecuritySchemes', security: r.listOf('SecurityRequirement'), tags: r.listOf('Tag'), externalDocs: 'ExternalDocs' }, required: ['swagger', 'paths', 'info'] }, a = { properties: { $ref: { type: 'string' }, parameters: r.listOf('Parameter'), get: 'Operation', put: 'Operation', post: 'Operation', delete: 'Operation', options: 'Operation', head: 'Operation', patch: 'Operation' } }, s = { properties: { tags: { type: 'array', items: { type: 'string' } }, summary: { type: 'string' }, description: { type: 'string' }, externalDocs: 'ExternalDocs', operationId: { type: 'string' }, consumes: { type: 'array', items: { type: 'string' } }, produces: { type: 'array', items: { type: 'string' } }, parameters: r.listOf('Parameter'), responses: 'ResponsesMap', schemes: { type: 'array', items: { type: 'string' } }, deprecated: { type: 'boolean' }, security: r.listOf('SecurityRequirement'), 'x-codeSamples': r.listOf('XCodeSample'), 'x-code-samples': r.listOf('XCodeSample'), 'x-hideTryItPanel': { type: 'boolean' } }, required: ['responses'] }, l = { properties: { default: 'Response' }, additionalProperties: (e, t) => (o.test(t) ? 'Response' : void 0) }, c = { properties: { description: { type: 'string' }, schema: 'Schema', headers: r.mapOf('Header'), examples: 'Examples' }, required: ['description'] }, u = { properties: { format: { type: 'string' }, title: { type: 'string' }, description: { type: 'string' }, default: null, multipleOf: { type: 'number' }, maximum: { type: 'number' }, minimum: { type: 'number' }, exclusiveMaximum: { type: 'boolean' }, exclusiveMinimum: { type: 'boolean' }, maxLength: { type: 'number' }, minLength: { type: 'number' }, pattern: { type: 'string' }, maxItems: { type: 'number' }, minItems: { type: 'number' }, uniqueItems: { type: 'boolean' }, maxProperties: { type: 'number' }, minProperties: { type: 'number' }, required: { type: 'array', items: { type: 'string' } }, enum: { type: 'array' }, type: { type: 'string', enum: [ 'object', 'array', 'string', 'number', 'integer', 'boolean', 'null' ] }, items: e => (Array.isArray(e) ? r.listOf('Schema') : 'Schema'), allOf: r.listOf('Schema'), properties: 'SchemaProperties', additionalProperties: e => 'boolean' == typeof e ? { type: 'boolean' } : 'Schema', discriminator: { type: 'string' }, readOnly: { type: 'boolean' }, xml: 'Xml', externalDocs: 'ExternalDocs', example: { isExample: !0 }, 'x-tags': { type: 'array', items: { type: 'string' } } } }, p = { properties: { type: { enum: ['basic', 'apiKey', 'oauth2'] }, description: { type: 'string' }, name: { type: 'string' }, in: { type: 'string', enum: ['query', 'header'] }, flow: { enum: ['implicit', 'password', 'application', 'accessCode'] }, authorizationUrl: { type: 'string' }, tokenUrl: { type: 'string' }, scopes: { type: 'object', additionalProperties: { type: 'string' } } }, required(e) { switch (null == e ? void 0 : e.type) { case 'apiKey': return ['type', 'name', 'in']; case 'oauth2': switch (null == e ? void 0 : e.flow) { case 'implicit': return ['type', 'flow', 'authorizationUrl', 'scopes']; case 'accessCode': return [ 'type', 'flow', 'authorizationUrl', 'tokenUrl', 'scopes' ]; case 'application': case 'password': return ['type', 'flow', 'tokenUrl', 'scopes']; default: return ['type', 'flow', 'scopes']; } default: return ['type']; } }, allowed(e) { switch (null == e ? void 0 : e.type) { case 'basic': return ['type', 'description']; case 'apiKey': return ['type', 'name', 'in', 'description']; case 'oauth2': switch (null == e ? void 0 : e.flow) { case 'implicit': return [ 'type', 'flow', 'authorizationUrl', 'description', 'scopes' ]; case 'accessCode': return [ 'type', 'flow', 'authorizationUrl', 'tokenUrl', 'description', 'scopes' ]; case 'application': case 'password': return [ 'type', 'flow', 'tokenUrl', 'description', 'scopes' ]; default: return [ 'type', 'flow', 'tokenUrl', 'authorizationUrl', 'description', 'scopes' ]; } default: return ['type', 'description']; } }, extensionsPrefix: 'x-' }; t.Oas2Types = { DefinitionRoot: i, Tag: { properties: { name: { type: 'string' }, description: { type: 'string' }, externalDocs: 'ExternalDocs' }, required: ['name'] }, ExternalDocs: { properties: { description: { type: 'string' }, url: { type: 'string' } }, required: ['url'] }, SecurityRequirement: { properties: {}, additionalProperties: { type: 'array', items: { type: 'string' } } }, Info: { properties: { title: { type: 'string' }, description: { type: 'string' }, termsOfService: { type: 'string' }, contact: 'Contact', license: 'License', version: { type: 'string' } }, required: ['title', 'version'] }, Contact: { properties: { name: { type: 'string' }, url: { type: 'string' }, email: { type: 'string' } } }, License: { properties: { name: { type: 'string' }, url: { type: 'string' } }, required: ['name'] }, PathMap: { properties: {}, additionalProperties: (e, t) => t.startsWith('/') ? 'PathItem' : void 0 }, PathItem: a, Parameter: { properties: { name: { type: 'string' }, in: { type: 'string', enum: ['query', 'header', 'path', 'formData', 'body'] }, description: { type: 'string' }, required: { type: 'boolean' }, schema: 'Schema', type: { type: 'string', enum: [ 'string', 'number', 'integer', 'boolean', 'array', 'file' ] }, format: { type: 'string' }, allowEmptyValue: { type: 'boolean' }, items: 'ParameterItems', collectionFormat: { type: 'string', enum: ['csv', 'ssv', 'tsv', 'pipes', 'multi'] }, default: null, maximum: { type: 'integer' }, exclusiveMaximum: { type: 'boolean' }, minimum: { type: 'integer' }, exclusiveMinimum: { type: 'boolean' }, maxLength: { type: 'integer' }, minLength: { type: 'integer' }, pattern: { type: 'string' }, maxItems: { type: 'integer' }, minItems: { type: 'integer' }, uniqueItems: { type: 'boolean' }, enum: { type: 'array' }, multipleOf: { type: 'number' } }, required: e => e && e.in ? 'body' === e.in ? ['name', 'in', 'schema'] : 'array' === e.type ? ['name', 'in', 'type', 'items'] : ['name', 'in', 'type'] : ['name', 'in'] }, ParameterItems: { properties: { type: { type: 'string', enum: ['string', 'number', 'integer', 'boolean', 'array'] }, format: { type: 'string' }, items: 'ParameterItems', collectionFormat: { type: 'string', enum: ['csv', 'ssv', 'tsv', 'pipes', 'multi'] }, default: null, maximum: { type: 'integer' }, exclusiveMaximum: { type: 'boolean' }, minimum: { type: 'integer' }, exclusiveMinimum: { type: 'boolean' }, maxLength: { type: 'integer' }, minLength: { type: 'integer' }, pattern: { type: 'string' }, maxItems: { type: 'integer' }, minItems: { type: 'integer' }, uniqueItems: { type: 'boolean' }, enum: { type: 'array' }, multipleOf: { type: 'number' } }, required: e => e && 'array' === e.type ? ['type', 'items'] : ['type'] }, Operation: s, Examples: { properties: {}, additionalProperties: { isExample: !0 } }, Header: { properties: { description: { type: 'string' }, type: { type: 'string', enum: ['string', 'number', 'integer', 'boolean', 'array'] }, format: { type: 'string' }, items: 'ParameterItems', collectionFormat: { type: 'string', enum: ['csv', 'ssv', 'tsv', 'pipes', 'multi'] }, default: null, maximum: { type: 'integer' }, exclusiveMaximum: { type: 'boolean' }, minimum: { type: 'integer' }, exclusiveMinimum: { type: 'boolean' }, maxLength: { type: 'integer' }, minLength: { type: 'integer' }, pattern: { type: 'string' }, maxItems: { type: 'integer' }, minItems: { type: 'integer' }, uniqueItems: { type: 'boolean' }, enum: { type: 'array' }, multipleOf: { type: 'number' } }, required: e => e && 'array' === e.type ? ['type', 'items'] : ['type'] }, ResponsesMap: l, Response: c, Schema: u, Xml: { properties: { name: { type: 'string' }, namespace: { type: 'string' }, prefix: { type: 'string' }, attribute: { type: 'boolean' }, wrapped: { type: 'boolean' } } }, SchemaProperties: { properties: {}, additionalProperties: 'Schema' }, NamedSchemas: r.mapOf('Schema'), NamedResponses: r.mapOf('Response'), NamedParameters: r.mapOf('Parameter'), NamedSecuritySchemes: r.mapOf('SecurityScheme'), SecurityScheme: p, XCodeSample: { properties: { lang: { type: 'string' }, label: { type: 'string' }, source: { type: 'string' } } } }; }, 5241: function (e, t, n) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.Oas3Types = void 0); const r = n(5220), o = n(7468), i = /^[0-9][0-9Xx]{2}$/, a = { properties: { openapi: null, info: 'Info', servers: r.listOf('Server'), security: r.listOf('SecurityRequirement'), tags: r.listOf('Tag'), externalDocs: 'ExternalDocs', paths: 'PathMap', components: 'Components', 'x-webhooks': 'WebhooksMap' }, required: ['openapi', 'paths', 'info'] }, s = { properties: { url: { type: 'string' }, description: { type: 'string' }, variables: r.mapOf('ServerVariable') }, required: ['url'] }, l = { properties: { $ref: { type: 'string' }, servers: r.listOf('Server'), parameters: r.listOf('Parameter'), summary: { type: 'string' }, description: { type: 'string' }, get: 'Operation', put: 'Operation', post: 'Operation', delete: 'Operation', options: 'Operation', head: 'Operation', patch: 'Operation', trace: 'Operation' } }, c = { properties: { name: { type: 'string' }, in: { enum: ['query', 'header', 'path', 'cookie'] }, description: { type: 'string' }, required: { type: 'boolean' }, deprecated: { type: 'boolean' }, allowEmptyValue: { type: 'boolean' }, style: { enum: [ 'form', 'simple', 'label', 'matrix', 'spaceDelimited', 'pipeDelimited', 'deepObject' ] }, explode: { type: 'boolean' }, allowReserved: { type: 'boolean' }, schema: 'Schema', example: { isExample: !0 }, examples: r.mapOf('Example'), content: 'MediaTypeMap' }, required: ['name', 'in'], requiredOneOf: ['schema', 'content'] }, u = { properties: { tags: { type: 'array', items: { type: 'string' } }, summary: { type: 'string' }, description: { type: 'string' }, externalDocs: 'ExternalDocs', operationId: { type: 'string' }, parameters: r.listOf('Parameter'), security: r.listOf('SecurityRequirement'), servers: r.listOf('Server'), requestBody: 'RequestBody', responses: 'ResponsesMap', deprecated: { type: 'boolean' }, callbacks: r.mapOf('Callback'), 'x-codeSamples': r.listOf('XCodeSample'), 'x-code-samples': r.listOf('XCodeSample'), 'x-hideTryItPanel': { type: 'boolean' } }, required: ['responses'] }, p = { properties: { schema: 'Schema', example: { isExample: !0 }, examples: r.mapOf('Example'), encoding: r.mapOf('Encoding') } }, d = { properties: { contentType: { type: 'string' }, headers: r.mapOf('Header'), style: { enum: [ 'form', 'simple', 'label', 'matrix', 'spaceDelimited', 'pipeDelimited', 'deepObject' ] }, explode: { type: 'boolean' }, allowReserved: { type: 'boolean' } } }, f = { properties: { description: { type: 'string' }, required: { type: 'boolean' }, deprecated: { type: 'boolean' }, allowEmptyValue: { type: 'boolean' }, style: { enum: [ 'form', 'simple', 'label', 'matrix', 'spaceDelimited', 'pipeDelimited', 'deepObject' ] }, explode: { type: 'boolean' }, allowReserved: { type: 'boolean' }, schema: 'Schema', example: { isExample: !0 }, examples: r.mapOf('Example'), content: 'MediaTypeMap' } }, h = { properties: { default: 'Response' }, additionalProperties: (e, t) => (i.test(t) ? 'Response' : void 0) }, m = { properties: { description: { type: 'string' }, headers: r.mapOf('Header'), content: 'MediaTypeMap', links: r.mapOf('Link') }, required: ['description'] }, g = { properties: { externalDocs: 'ExternalDocs', discriminator: 'Discriminator', title: { type: 'string' }, multipleOf: { type: 'number', minimum: 0 }, maximum: { type: 'number' }, minimum: { type: 'number' }, exclusiveMaximum: { type: 'boolean' }, exclusiveMinimum: { type: 'boolean' }, maxLength: { type: 'integer', minimum: 0 }, minLength: { type: 'integer', minimum: 0 }, pattern: { type: 'string' }, maxItems: { type: 'integer', minimum: 0 }, minItems: { type: 'integer', minimum: 0 }, uniqueItems: { type: 'boolean' }, maxProperties: { type: 'integer', minimum: 0 }, minProperties: { type: 'integer', minimum: 0 }, required: { type: 'array', items: { type: 'string' } }, enum: { type: 'array' }, type: { enum: [ 'object', 'array', 'string', 'number', 'integer', 'boolean', 'null' ] }, allOf: r.listOf('Schema'), anyOf: r.listOf('Schema'), oneOf: r.listOf('Schema'), not: 'Schema', properties: 'SchemaProperties', items: e => (Array.isArray(e) ? r.listOf('Schema') : 'Schema'), additionalItems: e => 'boolean' == typeof e ? { type: 'boolean' } : 'Schema', additionalProperties: e => 'boolean' == typeof e ? { type: 'boolean' } : 'Schema', description: { type: 'string' }, format: { type: 'string' }, default: null, nullable: { type: 'boolean' }, readOnly: { type: 'boolean' }, writeOnly: { type: 'boolean' }, xml: 'Xml', example: { isExample: !0 }, deprecated: { type: 'boolean' }, 'x-tags': { type: 'array', items: { type: 'string' } } } }, y = { properties: {}, additionalProperties: e => o.isMappingRef(e) ? { type: 'string', directResolveAs: 'Schema' } : { type: 'string' } }, v = { properties: { type: { enum: ['apiKey', 'http', 'oauth2', 'openIdConnect'] }, description: { type: 'string' }, name: { type: 'string' }, in: { type: 'string', enum: ['query', 'header', 'cookie'] }, scheme: { type: 'string' }, bearerFormat: { type: 'string' }, flows: 'SecuritySchemeFlows', openIdConnectUrl: { type: 'string' } }, required(e) { switch (null == e ? void 0 : e.type) { case 'apiKey': return ['type', 'name', 'in']; case 'http': return ['type', 'scheme']; case 'oauth2': return ['type', 'flows']; case 'openIdConnect': return ['type', 'openIdConnectUrl']; default: return ['type']; } }, allowed(e) { switch (null == e ? void 0 : e.type) { case 'apiKey': return ['type', 'name', 'in', 'description']; case 'http': return ['type', 'scheme', 'bearerFormat', 'description']; case 'oauth2': return ['type', 'flows', 'description']; case 'openIdConnect': return ['type', 'openIdConnectUrl', 'description']; default: return ['type', 'description']; } }, extensionsPrefix: 'x-' }; t.Oas3Types = { DefinitionRoot: a, Tag: { properties: { name: { type: 'string' }, description: { type: 'string' }, externalDocs: 'ExternalDocs' }, required: ['name'] }, ExternalDocs: { properties: { description: { type: 'string' }, url: { type: 'string' } }, required: ['url'] }, Server: s, ServerVariable: { properties: { enum: { type: 'array', items: { type: 'string' } }, default: { type: 'string' }, description: null }, required: ['default'] }, SecurityRequirement: { properties: {}, additionalProperties: { type: 'array', items: { type: 'string' } } }, Info: { properties: { title: { type: 'string' }, version: { type: 'string' }, description: { type: 'string' }, termsOfService: { type: 'string' }, contact: 'Contact', license: 'License' }, required: ['title', 'version'] }, Contact: { properties: { name: { type: 'string' }, url: { type: 'string' }, email: { type: 'string' } } }, License: { properties: { name: { type: 'string' }, url: { type: 'string' } }, required: ['name'] }, PathMap: { properties: {}, additionalProperties: (e, t) => t.startsWith('/') ? 'PathItem' : void 0 }, PathItem: l, Parameter: c, Operation: u, Callback: r.mapOf('PathItem'), RequestBody: { properties: { description: { type: 'string' }, required: { type: 'boolean' }, content: 'MediaTypeMap' }, required: ['content'] }, MediaTypeMap: { properties: {}, additionalProperties: 'MediaType' }, MediaType: p, Example: { properties: { value: { isExample: !0 }, summary: { type: 'string' }, description: { type: 'string' }, externalValue: { type: 'string' } } }, Encoding: d, Header: f, ResponsesMap: h, Response: m, Link: { properties: { operationRef: { type: 'string' }, operationId: { type: 'string' }, parameters: null, requestBody: null, description: { type: 'string' }, server: 'Server' } }, Schema: g, Xml: { properties: { name: { type: 'string' }, namespace: { type: 'string' }, prefix: { type: 'string' }, attribute: { type: 'boolean' }, wrapped: { type: 'boolean' } } }, SchemaProperties: { properties: {}, additionalProperties: 'Schema' }, DiscriminatorMapping: y, Discriminator: { properties: { propertyName: { type: 'string' }, mapping: 'DiscriminatorMapping' }, required: ['propertyName'] }, Components: { properties: { parameters: 'NamedParameters', schemas: 'NamedSchemas', responses: 'NamedResponses', examples: 'NamedExamples', requestBodies: 'NamedRequestBodies', headers: 'NamedHeaders', securitySchemes: 'NamedSecuritySchemes', links: 'NamedLinks', callbacks: 'NamedCallbacks' } }, NamedSchemas: r.mapOf('Schema'), NamedResponses: r.mapOf('Response'), NamedParameters: r.mapOf('Parameter'), NamedExamples: r.mapOf('Example'), NamedRequestBodies: r.mapOf('RequestBody'), NamedHeaders: r.mapOf('Header'), NamedSecuritySchemes: r.mapOf('SecurityScheme'), NamedLinks: r.mapOf('Link'), NamedCallbacks: r.mapOf('Callback'), ImplicitFlow: { properties: { refreshUrl: { type: 'string' }, scopes: { type: 'object', additionalProperties: { type: 'string' } }, authorizationUrl: { type: 'string' } }, required: ['authorizationUrl', 'scopes'] }, PasswordFlow: { properties: { refreshUrl: { type: 'string' }, scopes: { type: 'object', additionalProperties: { type: 'string' } }, tokenUrl: { type: 'string' } }, required: ['tokenUrl', 'scopes'] }, ClientCredentials: { properties: { refreshUrl: { type: 'string' }, scopes: { type: 'object', additionalProperties: { type: 'string' } }, tokenUrl: { type: 'string' } }, required: ['tokenUrl', 'scopes'] }, AuthorizationCode: { properties: { refreshUrl: { type: 'string' }, authorizationUrl: { type: 'string' }, scopes: { type: 'object', additionalProperties: { type: 'string' } }, tokenUrl: { type: 'string' } }, required: ['authorizationUrl', 'tokenUrl', 'scopes'] }, SecuritySchemeFlows: { properties: { implicit: 'ImplicitFlow', password: 'PasswordFlow', clientCredentials: 'ClientCredentials', authorizationCode: 'AuthorizationCode' } }, SecurityScheme: v, XCodeSample: { properties: { lang: { type: 'string' }, label: { type: 'string' }, source: { type: 'string' } } }, WebhooksMap: { properties: {}, additionalProperties: () => 'PathItem' } }; }, 2608: function (e, t, n) { 'use strict'; Object.defineProperty(t, '__esModule', { value: !0 }), (t.Oas3_1Types = void 0); const r = n(5220), o = n(5241), i = { properties: { openapi: null, info: 'Info', servers: r.listOf('Server'), security: r.listOf('SecurityRequirement'), tags: r.listOf('Tag'), externalDocs: 'ExternalDocs', paths: 'PathMap', webhooks: 'WebhooksMap', components: 'Components', jsonSchemaDialect: { type: 'string' } }, required: ['openapi', 'info'], requiredOneOf: ['paths', 'components', 'webhooks'] }, a = { properties: { tags: { type: 'array', items: { type: 'string' } }, summary: { type: 'string' }, description: { type: 'string' }, externalDocs: 'ExternalDocs', operationId: { type: 'string' }, parameters: r.listOf('Parameter'), security: r.listOf('SecurityRequirement'), servers: r.listOf('Server'), requestBody: 'RequestBody', responses: 'ResponsesMap', deprecated: { type: 'boolean' }, callbacks: r.mapOf('Callback'), 'x-codeSamples': r.listOf('XCodeSample'), 'x-code-samples': r.listOf('XCodeSample'), 'x-hideTryItPanel': { type: 'boolean' } } }, s = { properties: { $id: { type: 'string' }, id: { type: 'string' }, $schema: { type: 'string' }, definitions: 'NamedSchemas', $defs: 'NamedSchemas', $vocabulary: { type: 'string' }, externalDocs: 'ExternalDocs', discriminator: 'Discriminator', myArbitraryKeyword: { type: 'boolean' }, title: { type: 'string' }, multipleOf: { type: 'number', minimum: 0 }, maximum: { type: 'number' }, minimum: { type: 'number' }, exclusiveMaximum: { type: 'number' }, exclusiveMinimum: { type: 'number' }, maxLength: { type: 'integer', minimum: 0 }, minLength: { type: 'integer', minimum: 0 }, pattern: { type: 'string' }, maxItems: { type: 'integer', minimum: 0 }, minItems: { type: 'integer', minimum: 0 }, uniqueItems: { type: 'boolean' }, maxProperties: { type: 'integer', minimum: 0 }, minProperties: { type: 'integer', minimum: 0 }, required: { type: