diff --git a/apps/api b/apps/api index 378cbf8f3a..f9b7cebe37 160000 --- a/apps/api +++ b/apps/api @@ -1 +1 @@ -Subproject commit 378cbf8f3a67ea7877296f1da02edb2b6e3efbce +Subproject commit f9b7cebe3753409c69474b3cd45313ec2468c690 diff --git a/apps/swagger/.env.example b/apps/swagger/.env.example index 4a9f29c17c..2bef25166c 100644 --- a/apps/swagger/.env.example +++ b/apps/swagger/.env.example @@ -1 +1 @@ -SWAGGER_DOCS_URL=http://localhost:3002/docs \ No newline at end of file +NEXT_PUBLIC_SWAGGER_DOCS_URL=http://localhost:3002/docs \ No newline at end of file diff --git a/apps/swagger/lib/snippets.ts b/apps/swagger/lib/snippets.ts new file mode 100644 index 0000000000..fa4d5d4c55 --- /dev/null +++ b/apps/swagger/lib/snippets.ts @@ -0,0 +1,381 @@ +import * as OpenAPISnippet from "openapi-snippet"; + +export const requestSnippets = { + generators: { + curl_bash: { + title: "cURL (bash)", + syntax: "bash", + }, + curl_powershell: { + title: "cURL (PowerShell)", + syntax: "powershell", + }, + curl_cmd: { + title: "cURL (CMD)", + syntax: "bash", + }, + node: { + title: "Node", + syntax: "node", + }, + }, + defaultExpanded: true, + languages: ["node"], +}; +// Since swagger-ui-react was not configured to change the request snippets some workarounds required +// configuration will be added programatically +// Custom Plugin +export const SnippedGenerator = { + statePlugins: { + // extend some internals to gain information about current path, method and spec in the generator function metioned later + spec: { + wrapSelectors: { + requestFor: (ori, system) => (state, path, method) => { + return ori(path, method) + ?.set("spec", state.get("json", {})) + ?.setIn(["oasPathMethod", "path"], path) + ?.setIn(["oasPathMethod", "method"], method); + }, + mutatedRequestFor: (ori) => (state, path, method) => { + return ori(path, method) + ?.set("spec", state.get("json", {})) + ?.setIn(["oasPathMethod", "path"], path) + ?.setIn(["oasPathMethod", "method"], method); + }, + }, + }, + // extend the request snippets core plugin + requestSnippets: { + wrapSelectors: { + // add additional snippet generators here + getSnippetGenerators: + (ori, system) => + (state, ...args) => + ori(state, ...args) + // add node native snippet generator + // .set( + // // key + // "node_native", + // // config and generator function + // system.Im.fromJS({ + // title: "NodeJs Native", + // syntax: "javascript", + // hostname: "test", + // fn: (req) => { + // // get extended info about request + // const { spec, oasPathMethod } = req.toJS(); + // const { path, method } = oasPathMethod; + + // // run OpenAPISnippet for target node + // const targets = ["node_native"]; + // let snippet; + // try { + // // set request snippet content + // snippet = OpenAPISnippet.getEndpointSnippets( + // spec, + // path, + // method, + // targets + // // Since I don't know why hostname was undefinedundefined, I harcoded it here + // ).snippets[0].content.replaceAll("undefinedundefined", "https://api.cal.com"); + // } catch (err) { + // // set to error in case it happens the npm package has some flaws + // snippet = JSON.stringify(snippet); + // } + // // return stringified snipped + // return snippet; + // }, + // }) + // ) + .set( + // key + "node_fetch", + // config and generator function + system.Im.fromJS({ + title: "NodeJS", + syntax: "javascript", + fn: (req) => { + // get extended info about request + const { spec, oasPathMethod } = req.toJS(); + const { path, method } = oasPathMethod; + + // run OpenAPISnippet for target node + const targets = ["node_fetch"]; + let snippet; + try { + // set request snippet content + snippet = OpenAPISnippet.getEndpointSnippets( + spec, + path, + method, + targets + ).snippets[0].content.replaceAll("undefinedundefined", "https://api.cal.com"); + } catch (err) { + // set to error in case it happens the npm package has some flaws + snippet = JSON.stringify(snippet); + } + // return stringified snipped + return snippet; + }, + }) + ) + .set( + // key + "shell_httpie", + // config and generator function + system.Im.fromJS({ + title: "HTTPie", + syntax: "bash", + fn: (req) => { + // get extended info about request + const { spec, oasPathMethod } = req.toJS(); + const { path, method } = oasPathMethod; + + // run OpenAPISnippet for target node + const targets = ["shell_httpie"]; + let snippet; + try { + // set request snippet content + snippet = OpenAPISnippet.getEndpointSnippets( + spec, + path, + method, + targets + ).snippets[0].content.replaceAll("undefinedundefined", "https://api.cal.com"); + } catch (err) { + // set to error in case it happens the npm package has some flaws + snippet = JSON.stringify(snippet); + } + // return stringified snipped + return snippet; + }, + }) + ) + .set( + // key + "php_curl", + // config and generator function + system.Im.fromJS({ + title: "PHP", + syntax: "php", + fn: (req) => { + // get extended info about request + const { spec, oasPathMethod } = req.toJS(); + const { path, method } = oasPathMethod; + + // run OpenAPISnippet for target node + const targets = ["php_curl"]; + let snippet; + try { + // set request snippet content + snippet = OpenAPISnippet.getEndpointSnippets( + spec, + path, + method, + targets + ).snippets[0].content.replaceAll("undefinedundefined", "https://api.cal.com"); + } catch (err) { + // set to error in case it happens the npm package has some flaws + snippet = JSON.stringify(snippet); + } + // return stringified snipped + return snippet; + }, + }) + ) + .set( + // key + "java_okhttp", + // config and generator function + system.Im.fromJS({ + title: "Java", + syntax: "java", + fn: (req) => { + // get extended info about request + const { spec, oasPathMethod } = req.toJS(); + const { path, method } = oasPathMethod; + console.log(spec, oasPathMethod, path, method); + // run OpenAPISnippet for target node + const targets = ["java_okhttp"]; + let snippet; + try { + // set request snippet content + snippet = OpenAPISnippet.getEndpointSnippets( + spec, + path, + method, + targets + ).snippets[0].content.replaceAll("undefinedundefined", "https://api.cal.com"); + } catch (err) { + // set to error in case it happens the npm package has some flaws + snippet = JSON.stringify(snippet); + } + // return stringified snipped + return snippet; + }, + }) + ) + // .set( + // // key + // "java", + // // config and generator function + // system.Im.fromJS({ + // title: "Java (Unirest)", + // syntax: "java", + // fn: (req) => { + // // get extended info about request + // const { spec, oasPathMethod } = req.toJS(); + // const { path, method } = oasPathMethod; + + // // run OpenAPISnippet for target node + // const targets = ["java"]; + // let snippet; + // try { + // // set request snippet content + // snippet = OpenAPISnippet.getEndpointSnippets( + // spec, + // path, + // method, + // targets + // ).snippets[0].content.replaceAll("undefinedundefined", "https://api.cal.com"); + // } catch (err) { + // // set to error in case it happens the npm package has some flaws + // snippet = JSON.stringify(snippet); + // } + // // return stringified snipped + // return snippet; + // }, + // }) + // ) + // .set( + // // key + // "c_libcurl", + // // config and generator function + // system.Im.fromJS({ + // title: "C (libcurl) ", + // syntax: "bash", + // fn: (req) => { + // // get extended info about request + // const { spec, oasPathMethod } = req.toJS(); + // const { path, method } = oasPathMethod; + + // // run OpenAPISnippet for target node + // const targets = ["c_libcurl"]; + // let snippet; + // try { + // // set request snippet content + // snippet = OpenAPISnippet.getEndpointSnippets( + // spec, + // path, + // method, + // targets + // ).snippets[0].content.replaceAll("undefinedundefined", "https://api.cal.com"); + // } catch (err) { + // // set to error in case it happens the npm package has some flaws + // snippet = JSON.stringify(snippet); + // } + // // return stringified snipped + // return snippet; + // }, + // }) + // ) + .set( + // key + "go_native", + // config and generator function + system.Im.fromJS({ + title: "Go", + syntax: "bash", + fn: (req) => { + // get extended info about request + const { spec, oasPathMethod } = req.toJS(); + const { path, method } = oasPathMethod; + + // run OpenAPISnippet for target node + const targets = ["go_native"]; + let snippet; + try { + // set request snippet content + snippet = OpenAPISnippet.getEndpointSnippets( + spec, + path, + method, + targets + ).snippets[0].content.replaceAll("undefinedundefined", "https://api.cal.com"); + } catch (err) { + // set to error in case it happens the npm package has some flaws + snippet = JSON.stringify(snippet); + } + // return stringified snipped + return snippet; + }, + }) + ) + .set( + // key + "ruby", + // config and generator function + system.Im.fromJS({ + title: "Ruby", + syntax: "ruby", + fn: (req) => { + // get extended info about request + const { spec, oasPathMethod } = req.toJS(); + const { path, method } = oasPathMethod; + + // run OpenAPISnippet for target node + const targets = ["ruby"]; + let snippet; + try { + // set request snippet content + snippet = OpenAPISnippet.getEndpointSnippets( + spec, + path, + method, + targets + ).snippets[0].content.replaceAll("undefinedundefined", "https://api.cal.com"); + } catch (err) { + // set to error in case it happens the npm package has some flaws + snippet = JSON.stringify(snippet); + } + // return stringified snipped + return snippet; + }, + }) + ) + .set( + // key + "python", + // config and generator function + system.Im.fromJS({ + title: "Python", + syntax: "python", + fn: (req) => { + // get extended info about request + const { spec, oasPathMethod } = req.toJS(); + const { path, method } = oasPathMethod; + + // run OpenAPISnippet for target node + const targets = ["python"]; + let snippet; + try { + // set request snippet content + snippet = OpenAPISnippet.getEndpointSnippets( + spec, + path, + method, + targets + ).snippets[0].content.replaceAll("undefinedundefined", "https://api.cal.com"); + } catch (err) { + // set to error in case it happens the npm package has some flaws + snippet = JSON.stringify(snippet); + } + // return stringified snipped + return snippet; + }, + }) + ), + }, + }, + }, +}; diff --git a/apps/swagger/package.json b/apps/swagger/package.json index d8a76e6efa..b68bafd903 100644 --- a/apps/swagger/package.json +++ b/apps/swagger/package.json @@ -3,13 +3,15 @@ "version": "1.0.0", "private": true, "scripts": { - "dev": "next dev", + "dev": "PORT=4200 next dev", "build": "next build", "start": "next start" }, "dependencies": { + "highlight.js": "^11.5.1", "isarray": "2.0.5", "next": "12.1.4", + "openapi-snippet": "^0.13.0", "react": "17.0.2", "react-dom": "17.0.2", "swagger-ui-react": "4.8.1" diff --git a/apps/swagger/pages/_app.tsx b/apps/swagger/pages/_app.tsx index 21c9e4964a..02fc2c3d26 100644 --- a/apps/swagger/pages/_app.tsx +++ b/apps/swagger/pages/_app.tsx @@ -1,5 +1,7 @@ +import "highlight.js/styles/default.css"; +import "swagger-ui-react/swagger-ui.css"; + import "../styles/globals.css"; -import "../styles/swagger-cal.css"; function MyApp({ Component, pageProps }) { return ; diff --git a/apps/swagger/pages/index.tsx b/apps/swagger/pages/index.tsx index ce739e704a..1baa91d5ed 100644 --- a/apps/swagger/pages/index.tsx +++ b/apps/swagger/pages/index.tsx @@ -1,41 +1,19 @@ -import Head from "next/head"; import SwaggerUI from "swagger-ui-react"; -const requestSnippets = { - generators: { - curl_bash: { - title: "cURL (bash)", - syntax: "bash", - }, - curl_powershell: { - title: "cURL (PowerShell)", - syntax: "powershell", - }, - curl_cmd: { - title: "cURL (CMD)", - syntax: "bash", - }, - node: { - title: "Node", - syntax: "node", - }, - }, - defaultExpanded: true, - languages: ["curl_bash"], - // e.g. only show curl bash = ["curl_bash"] -}; +import { SnippedGenerator, requestSnippets } from "@lib/snippets"; + export default function APIDocs() { return ( ); } diff --git a/apps/swagger/styles/swagger-cal.css b/apps/swagger/styles/swagger-cal.css deleted file mode 100644 index f909d31a9b..0000000000 --- a/apps/swagger/styles/swagger-cal.css +++ /dev/null @@ -1,1769 +0,0 @@ -@charset "UTF-8"; -.swagger-ui { - margin-top: -180px; -} -.model-box-control { - border-radius: 0; - background: black; - color: white; - border: none; -} -.model .model-title { - background: black; - color: white !important; - font-size: 1.5em; - font-weight: bold; - text-align: center; -} -.models-control { - border-radius: 0; - background: black; - color: white; - border: none; - text-transform: uppercase; - padding-left: 25px; - margin-right: auto; - font-size: 20px; - font-weight: 800; -} -.swagger-ui html { - box-sizing: border-box; -} - -.swagger-ui *, -.swagger-ui :after, -.swagger-ui :before { - box-sizing: inherit; -} - -.swagger-ui body { - margin: 0; - background: #fafafa; -} - -.swagger-ui .wrapper { - width: 100%; - max-width: 1460px; - margin: 0 auto; - padding: 0 20px; -} - -.swagger-ui .opblock-tag-section { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; -} - -.swagger-ui .opblock-tag { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - padding: 10px 20px 10px 10px; - cursor: pointer; - -webkit-transition: all 0.2s; - transition: all 0.2s; - border-bottom: 1px solid rgba(59, 65, 81, 0.3); - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.swagger-ui .opblock-tag:hover { - background: rgba(0, 0, 0, 0.02); -} - -.swagger-ui .opblock-tag { - font-size: 24px; - margin: 0 0 5px; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui .opblock-tag.no-desc span { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.swagger-ui .opblock-tag svg { - -webkit-transition: all 0.4s; - transition: all 0.4s; -} - -.swagger-ui .opblock-tag small { - font-size: 14px; - font-weight: 400; - padding: 0 10px; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - font-family: Open Sans, sans-serif; - color: #3b4151; -} - -.swagger-ui .parŠ°meter__type { - font-size: 12px; - padding: 5px 0; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #3b4151; -} - -.swagger-ui .view-line-link { - position: relative; - top: 3px; - width: 20px; - margin: 0 5px; - cursor: pointer; - -webkit-transition: all 0.5s; - transition: all 0.5s; -} - -.swagger-ui .opblock { - margin: 0 0 15px; - border: 1px solid #000; - border-radius: 0px; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.19); -} - -.swagger-ui .opblock.is-open .opblock-summary { - border-bottom: 1px solid #000; -} - -.swagger-ui .opblock .opblock-section-header { - padding: 8px 20px; - background: hsla(0, 0%, 100%, 0.8); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); -} - -.swagger-ui .opblock .opblock-section-header, -.swagger-ui .opblock .opblock-section-header label { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.swagger-ui .opblock .opblock-section-header label { - font-size: 12px; - font-weight: 700; - margin: 0; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui .opblock .opblock-section-header label span { - padding: 0 10px 0 0; -} - -.swagger-ui .opblock .opblock-section-header h4 { - font-size: 14px; - margin: 0; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui .opblock .opblock-summary-method { - font-size: 20px; - font-weight: 700; - min-width: 80px; - padding: 3px 12px; - text-align: center; - margin-left: -5px; - display: table; - border-radius: 0px; - background: #000; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); - font-family: "Cal Sans", sans-serif; - color: #fff; -} -@media only screen and (max-width: 600px) { - .swagger-ui .opblock .opblock-summary-method { - margin-right: -5px; - } - .swagger-ui .opblock .opblock-summary-path, - .swagger-ui .opblock .opblock-summary-path__deprecated { - margin-top: 20px; - } -} -.swagger-ui .opblock .opblock-summary-path, -.swagger-ui .opblock .opblock-summary-path__deprecated { - font-size: 22px; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - padding: 0 10px; - font-family: "Cal Sans", monospace; - font-weight: 500; - letter-spacing: 0.045em; - color: #ffffff; - opacity: 0.95; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.swagger-ui .opblock .opblock-summary-path .view-line-link, -.swagger-ui .opblock .opblock-summary-path__deprecated .view-line-link { - position: relative; - top: 2px; - width: 0; - margin: 0; - cursor: pointer; - -webkit-transition: all 0.5s; - transition: all 0.5s; -} - -.swagger-ui .opblock .opblock-summary-path:hover .view-line-link, -.swagger-ui .opblock .opblock-summary-path__deprecated:hover .view-line-link { - width: 18px; - margin: 0 5px; -} - -.swagger-ui .opblock .opblock-summary-path__deprecated { - text-decoration: line-through; -} - -.swagger-ui .opblock .opblock-summary-description { - font-size: 18px; - margin-left: auto; - margin-right: 5px; - margin-top: 4px; - font-family: Open Sans, sans-serif; - color: #ffffff; - text-transform: lowercase; -} -@media only screen and (max-width: 600px) { - .swagger-ui .opblock .opblock-summary-description { - margin: auto; - margin-top: 10px; - } -} -.swagger-ui .opblock .opblock-summary { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - flex-direction: column; - padding: 15px; - cursor: pointer; - -webkit-box-align: left; - -ms-flex-align: left; - align-items: left; - width: 100%; -} - -.swagger-ui .opblock.opblock-post { - border-color: #49cc90; - background: rgba(73, 204, 144, 0.1); -} - -.swagger-ui .opblock.opblock-post .opblock-summary-method { - background: #49cc90; -} - -.swagger-ui .opblock.opblock-post .opblock-summary { - border-color: #49cc90; -} - -.swagger-ui .opblock.opblock-put { - border-color: #fca130; - background: rgba(252, 161, 48, 0.1); -} - -.swagger-ui .opblock.opblock-put .opblock-summary-method { - background: #fca130; -} - -.swagger-ui .opblock.opblock-put .opblock-summary { - border-color: #fca130; -} - -.swagger-ui .opblock.opblock-delete { - border-color: #f93e3e; - background: rgba(249, 62, 62, 0.1); -} - -.swagger-ui .opblock.opblock-delete .opblock-summary-method { - background: #f93e3e; -} - -.swagger-ui .opblock.opblock-delete .opblock-summary { - border-color: #f93e3e; -} - -.swagger-ui .opblock.opblock-get { - border-color: #61affe; - background: rgba(97, 175, 254, 0.1); -} - -.swagger-ui .opblock.opblock-get .opblock-summary-method { - background: #61affe; -} - -.swagger-ui .opblock.opblock-get .opblock-summary { - border-color: #61affe; -} - -.swagger-ui .opblock.opblock-patch { - border-color: #50e3c2; - background: rgba(80, 227, 194, 0.1); -} - -.swagger-ui .opblock.opblock-patch .opblock-summary-method { - background: #50e3c2; -} - -.swagger-ui .opblock.opblock-patch .opblock-summary { - border-color: #50e3c2; -} - -.swagger-ui .opblock.opblock-head { - border-color: #9012fe; - background: rgba(144, 18, 254, 0.1); -} - -.swagger-ui .opblock.opblock-head .opblock-summary-method { - background: #9012fe; -} - -.swagger-ui .opblock.opblock-head .opblock-summary { - border-color: #9012fe; -} - -.swagger-ui .opblock.opblock-options { - border-color: #0d5aa7; - background: rgba(13, 90, 167, 0.1); -} - -.swagger-ui .opblock.opblock-options .opblock-summary-method { - background: #0d5aa7; -} - -.swagger-ui .opblock.opblock-options .opblock-summary { - border-color: #0d5aa7; -} - -.swagger-ui .opblock.opblock-deprecated { - opacity: 0.6; - border-color: #ebebeb; - background: hsla(0, 0%, 92%, 0.1); -} - -.swagger-ui .opblock.opblock-deprecated .opblock-summary-method { - background: #ebebeb; -} - -.swagger-ui .opblock.opblock-deprecated .opblock-summary { - border-color: #ebebeb; -} - -.swagger-ui .tab { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - margin: 20px 0 10px; - padding: 0; - list-style: none; -} - -.swagger-ui .tab li { - font-size: 12px; - min-width: 100px; - min-width: 90px; - padding: 0; - cursor: pointer; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui .tab li:first-of-type { - position: relative; - padding-left: 0; -} - -.swagger-ui .tab li:first-of-type:after { - position: absolute; - top: 0; - right: 6px; - width: 1px; - height: 100%; - content: ""; - background: rgba(0, 0, 0, 0.2); -} - -.swagger-ui .tab li.active { - font-weight: 700; -} - -.swagger-ui .opblock-description-wrapper, -.swagger-ui .opblock-title_normal { - padding: 15px 20px; -} - -.swagger-ui .opblock-description-wrapper, -.swagger-ui .opblock-description-wrapper h4, -.swagger-ui .opblock-title_normal, -.swagger-ui .opblock-title_normal h4 { - font-size: 12px; - margin: 0 0 5px; - font-family: Open Sans, sans-serif; - color: #3b4151; -} - -.swagger-ui .opblock-description-wrapper p, -.swagger-ui .opblock-title_normal p { - font-size: 14px; - margin: 0; - font-family: Open Sans, sans-serif; - color: #3b4151; -} - -.swagger-ui .execute-wrapper { - padding: 20px; - text-align: right; -} - -.swagger-ui .execute-wrapper .btn { - width: 100%; - padding: 8px 40px; -} - -.swagger-ui .body-param-options { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; -} - -.swagger-ui .body-param-options .body-param-edit { - padding: 10px 0; -} - -.swagger-ui .body-param-options label { - padding: 8px 0; -} - -.swagger-ui .body-param-options label select { - margin: 3px 0 0; -} - -.swagger-ui .responses-inner { - padding: 20px; -} - -.swagger-ui .responses-inner h4, -.swagger-ui .responses-inner h5 { - font-size: 12px; - margin: 10px 0 5px; - font-family: Open Sans, sans-serif; - color: #3b4151; -} - -.swagger-ui .response-col_status { - font-size: 14px; - font-family: Open Sans, sans-serif; - color: #3b4151; -} - -.swagger-ui .response-col_status .response-undocumented { - font-size: 11px; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #999; -} - -.swagger-ui .response-col_description__inner span { - font-size: 12px; - font-style: italic; - display: block; - margin: 10px 0; - padding: 10px; - border-radius: 0px; - background: #41444e; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #fff; -} - -.swagger-ui .response-col_description__inner span p { - margin: 0; -} - -.swagger-ui .opblock-body pre { - font-size: 12px; - margin: 0; - padding: 10px; - white-space: pre-wrap; - border-radius: 4px; - background: #41444e; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #fff; -} - -.swagger-ui .opblock-body pre span { - color: #fff !important; -} - -.swagger-ui .scheme-container { - margin: 0 0 20px; - padding: 30px 0; - background: #fff; - box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15); -} - -.swagger-ui .scheme-container .schemes { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.swagger-ui .scheme-container .schemes > label { - font-size: 12px; - font-weight: 700; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -ms-flex-direction: column; - flex-direction: column; - margin: -20px 15px 0 0; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui .scheme-container .schemes > label select { - min-width: 130px; - text-transform: uppercase; -} - -.swagger-ui .loading-container { - padding: 40px 0 60px; -} - -.swagger-ui .loading-container .loading { - position: relative; -} - -.swagger-ui .loading-container .loading:after { - font-size: 10px; - font-weight: 700; - position: absolute; - top: 50%; - left: 50%; - content: "loading"; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - text-transform: uppercase; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui .loading-container .loading:before { - position: absolute; - top: 50%; - left: 50%; - display: block; - width: 60px; - height: 60px; - margin: -30px; - content: ""; - -webkit-animation: rotation 1s infinite linear, opacity 0.5s; - animation: rotation 1s infinite linear, opacity 0.5s; - opacity: 1; - border: 2px solid rgba(85, 85, 85, 0.1); - border-top-color: rgba(0, 0, 0, 0.6); - border-radius: 100%; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; -} - -@-webkit-keyframes rotation { - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); - } -} - -@keyframes rotation { - to { - -webkit-transform: rotate(1turn); - transform: rotate(1turn); - } -} - -@-webkit-keyframes blinker { - 50% { - opacity: 0; - } -} - -@keyframes blinker { - 50% { - opacity: 0; - } -} - -.swagger-ui .btn { - font-size: 14px; - font-weight: 700; - padding: 5px 23px; - -webkit-transition: all 0.3s; - transition: all 0.3s; - border: 2px solid #888; - border-radius: 0px; - background: transparent; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui .btn[disabled] { - cursor: not-allowed; - opacity: 0.3; -} - -.swagger-ui .btn:hover { - box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); -} - -.swagger-ui .btn.cancel { - border-color: #ff6060; - font-family: "Cal Sans", sans-serif; - color: #ff6060; -} - -.swagger-ui .btn.authorize { - line-height: 1; - display: inline; - color: #49cc90; - border-color: #49cc90; -} - -.swagger-ui .btn.authorize span { - float: left; - padding: 4px 20px 0 0; -} - -.swagger-ui .btn.authorize svg { - fill: #49cc90; -} - -.swagger-ui .btn.execute { - -webkit-animation: pulse 2s infinite; - animation: pulse 2s infinite; - color: #fff; - border-color: #4990e2; -} - -@-webkit-keyframes pulse { - 0% { - color: #fff; - background: #4990e2; - box-shadow: 0 0 0 0 rgba(73, 144, 226, 0.8); - } - 70% { - box-shadow: 0 0 0 5px rgba(73, 144, 226, 0); - } - to { - color: #fff; - background: #4990e2; - box-shadow: 0 0 0 0 rgba(73, 144, 226, 0); - } -} - -@keyframes pulse { - 0% { - color: #fff; - background: #4990e2; - box-shadow: 0 0 0 0 rgba(73, 144, 226, 0.8); - } - 70% { - box-shadow: 0 0 0 5px rgba(73, 144, 226, 0); - } - to { - color: #fff; - background: #4990e2; - box-shadow: 0 0 0 0 rgba(73, 144, 226, 0); - } -} - -.swagger-ui .btn-group { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - padding: 30px; -} - -.swagger-ui .btn-group .btn { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.swagger-ui .btn-group .btn:first-child { - border-radius: 0px; -} - -.swagger-ui .btn-group .btn:last-child { - border-radius: 0px; -} - -.swagger-ui .authorization__btn { - padding: 0 10px; - border: none; - background: none; -} - -.swagger-ui .authorization__btn.locked { - opacity: 1; -} - -.swagger-ui .authorization__btn.unlocked { - opacity: 0.4; -} - -.swagger-ui .expand-methods, -.swagger-ui .expand-operation { - border: none; - background: none; -} - -.swagger-ui .expand-methods svg, -.swagger-ui .expand-operation svg { - width: 20px; - height: 20px; -} - -.swagger-ui .expand-methods { - padding: 0 10px; -} - -.swagger-ui .expand-methods:hover svg { - fill: #444; -} - -.swagger-ui .expand-methods svg { - -webkit-transition: all 0.3s; - transition: all 0.3s; - fill: #777; -} - -.swagger-ui button { - cursor: pointer; - outline: none; - display: flex; - background: black; - color: white; - border: none; -} -@media only screen and (max-width: 600px) { - .swagger-ui button { - display: grid; - } -} -.swagger-ui select { - font-size: 14px; - font-weight: 700; - padding: 5px 40px 5px 10px; - border: 2px solid #41444e; - border-radius: 0px; - background: #f7f7f7 - url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+ICAgIDxwYXRoIGQ9Ik0xMy40MTggNy44NTljLjI3MS0uMjY4LjcwOS0uMjY4Ljk3OCAwIC4yNy4yNjguMjcyLjcwMSAwIC45NjlsLTMuOTA4IDMuODNjLS4yNy4yNjgtLjcwNy4yNjgtLjk3OSAwbC0zLjkwOC0zLjgzYy0uMjctLjI2Ny0uMjctLjcwMSAwLS45NjkuMjcxLS4yNjguNzA5LS4yNjguOTc4IDBMMTAgMTFsMy40MTgtMy4xNDF6Ii8+PC9zdmc+) - right 10px center no-repeat; - background-size: 20px; - box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.25); - font-family: "Cal Sans", sans-serif; - color: #3b4151; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; -} - -.swagger-ui select[multiple] { - margin: 5px 0; - padding: 5px; - background: #f7f7f7; -} - -.swagger-ui .opblock-body select { - min-width: 230px; -} - -.swagger-ui label { - font-size: 12px; - font-weight: 700; - margin: 0 0 5px; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui input[type="email"], -.swagger-ui input[type="password"], -.swagger-ui input[type="search"], -.swagger-ui input[type="text"] { - min-width: 100px; - margin: 5px 0; - padding: 8px 10px; - border: 1px solid #d9d9d9; - border-radius: 0px; - background: #fff; -} - -.swagger-ui input[type="email"].invalid, -.swagger-ui input[type="password"].invalid, -.swagger-ui input[type="search"].invalid, -.swagger-ui input[type="text"].invalid { - -webkit-animation: shake 0.4s 1; - animation: shake 0.4s 1; - border-color: #f93e3e; - background: #feebeb; -} - -@-webkit-keyframes shake { - 10%, - 90% { - -webkit-transform: translate3d(-1px, 0, 0); - transform: translate3d(-1px, 0, 0); - } - 20%, - 80% { - -webkit-transform: translate3d(2px, 0, 0); - transform: translate3d(2px, 0, 0); - } - 30%, - 50%, - 70% { - -webkit-transform: translate3d(-4px, 0, 0); - transform: translate3d(-4px, 0, 0); - } - 40%, - 60% { - -webkit-transform: translate3d(4px, 0, 0); - transform: translate3d(4px, 0, 0); - } -} - -@keyframes shake { - 10%, - 90% { - -webkit-transform: translate3d(-1px, 0, 0); - transform: translate3d(-1px, 0, 0); - } - 20%, - 80% { - -webkit-transform: translate3d(2px, 0, 0); - transform: translate3d(2px, 0, 0); - } - 30%, - 50%, - 70% { - -webkit-transform: translate3d(-4px, 0, 0); - transform: translate3d(-4px, 0, 0); - } - 40%, - 60% { - -webkit-transform: translate3d(4px, 0, 0); - transform: translate3d(4px, 0, 0); - } -} - -.swagger-ui textarea { - font-size: 12px; - width: 100%; - min-height: 280px; - padding: 10px; - border: none; - border-radius: 0px; - outline: none; - background: hsla(0, 0%, 100%, 0.8); - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #3b4151; -} - -.swagger-ui textarea:focus { - border: 2px solid #61affe; -} - -.swagger-ui textarea.curl { - font-size: 12px; - min-height: 100px; - margin: 0; - padding: 10px; - resize: none; - border-radius: 4px; - background: #41444e; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #fff; -} - -.swagger-ui .checkbox { - padding: 5px 0 10px; - -webkit-transition: opacity 0.5s; - transition: opacity 0.5s; - color: #333; -} - -.swagger-ui .checkbox label { - display: -webkit-box; - display: -ms-flexbox; - display: flex; -} - -.swagger-ui .checkbox p { - font-weight: 400 !important; - font-style: italic; - margin: 0 !important; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #3b4151; -} - -.swagger-ui .checkbox input[type="checkbox"] { - display: none; -} - -.swagger-ui .checkbox input[type="checkbox"] + label > .item { - position: relative; - top: 3px; - display: inline-block; - width: 16px; - height: 16px; - margin: 0 8px 0 0; - padding: 5px; - cursor: pointer; - border-radius: 0px; - background: #e8e8e8; - box-shadow: 0 0 0 2px #e8e8e8; - -webkit-box-flex: 0; - -ms-flex: none; - flex: none; -} - -.swagger-ui .checkbox input[type="checkbox"] + label > .item:active { - -webkit-transform: scale(0.9); - transform: scale(0.9); -} - -.swagger-ui .checkbox input[type="checkbox"]:checked + label > .item { - background: #e8e8e8 - url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='8' viewBox='3 7 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2341474E' fill-rule='evenodd' d='M6.333 15L3 11.667l1.333-1.334 2 2L11.667 7 13 8.333z'/%3E%3C/svg%3E") - 50% no-repeat; -} - -.swagger-ui .dialog-ux { - position: fixed; - z-index: 9999; - top: 0; - right: 0; - bottom: 0; - left: 0; -} - -.swagger-ui .dialog-ux .backdrop-ux { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - background: rgba(0, 0, 0, 0.8); -} - -.swagger-ui .dialog-ux .modal-ux { - position: absolute; - z-index: 9999; - top: 50%; - left: 50%; - width: 100%; - min-width: 300px; - max-width: 650px; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - border: 1px solid #ebebeb; - border-radius: 0px; - background: #fff; - box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.2); -} - -.swagger-ui .dialog-ux .modal-ux-content { - overflow-y: auto; - max-height: 540px; - padding: 20px; -} - -.swagger-ui .dialog-ux .modal-ux-content p { - font-size: 12px; - margin: 0 0 5px; - color: #41444e; - font-family: Open Sans, sans-serif; - color: #3b4151; -} - -.swagger-ui .dialog-ux .modal-ux-content h4 { - font-size: 18px; - font-weight: 600; - margin: 15px 0 0; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui .dialog-ux .modal-ux-header { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - padding: 12px 0; - border-bottom: 1px solid #ebebeb; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.swagger-ui .dialog-ux .modal-ux-header .close-modal { - padding: 0 10px; - border: none; - background: none; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; -} - -.swagger-ui .dialog-ux .modal-ux-header h3 { - font-size: 20px; - font-weight: 600; - margin: 0; - padding: 0 20px; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui .model { - font-size: 12px; - font-weight: 300; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #3b4151; -} - -.swagger-ui .model-toggle { - font-size: 10px; - position: relative; - top: 6px; - display: inline-block; - margin: auto 0.3em; - cursor: pointer; - -webkit-transition: -webkit-transform 0.15s ease-in; - transition: -webkit-transform 0.15s ease-in; - transition: transform 0.15s ease-in; - transition: transform 0.15s ease-in, -webkit-transform 0.15s ease-in; - -webkit-transform: rotate(90deg); - transform: rotate(90deg); - -webkit-transform-origin: 50% 50%; - transform-origin: 50% 50%; -} - -.swagger-ui .model-toggle.collapsed { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); -} - -.swagger-ui .model-toggle:after { - display: block; - width: 20px; - height: 20px; - content: ""; - background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E") - 50% no-repeat; - background-size: 100%; -} - -.swagger-ui .model-jump-to-path { - position: relative; - cursor: pointer; -} - -.swagger-ui .model-jump-to-path .view-line-link { - position: absolute; - top: -0.4em; - cursor: pointer; -} - -.swagger-ui .model-title { - position: relative; -} - -.swagger-ui .model-title:hover .model-hint { - visibility: visible; -} - -.swagger-ui .model-hint { - position: absolute; - top: -1.8em; - visibility: hidden; - padding: 0.1em 0.5em; - white-space: nowrap; - color: #ebebeb; - border-radius: 0px; - background: rgba(0, 0, 0, 0.7); -} - -.swagger-ui section.models { - margin: 30px 0; - border: 1px solid rgba(59, 65, 81, 0.3); - border-radius: 0px; -} - -.swagger-ui section.models.is-open { - padding: 0 0 20px; -} - -.swagger-ui section.models.is-open h4 { - margin: 0 0 5px; - border-bottom: 1px solid rgba(59, 65, 81, 0.3); -} - -.swagger-ui section.models.is-open h4 svg { - -webkit-transform: rotate(90deg); - transform: rotate(90deg); -} - -.swagger-ui section.models h4 { - font-size: 16px; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - margin: 0; - padding: 10px 20px 10px 10px; - cursor: pointer; - -webkit-transition: all 0.2s; - transition: all 0.2s; - font-family: "Cal Sans", sans-serif; - color: #777; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.swagger-ui section.models h4 svg { - -webkit-transition: all 0.4s; - transition: all 0.4s; -} - -.swagger-ui section.models h4 span { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.swagger-ui section.models h4:hover { - background: rgba(0, 0, 0, 0.02); -} - -.swagger-ui section.models h5 { - font-size: 16px; - margin: 0 0 10px; - font-family: "Cal Sans", sans-serif; - color: #777; -} - -.swagger-ui section.models .model-jump-to-path { - position: relative; - top: 5px; -} - -.swagger-ui section.models .model-container { - margin: 0 20px 15px; - -webkit-transition: all 0.5s; - transition: all 0.5s; - border-radius: 0px; - background: rgba(0, 0, 0, 0.05); -} - -.swagger-ui section.models .model-container:hover { - background: rgba(0, 0, 0, 0.07); -} - -.swagger-ui section.models .model-container:first-of-type { - margin: 20px; -} - -.swagger-ui section.models .model-container:last-of-type { - margin: 0 20px; -} - -.swagger-ui section.models .model-box { - background: none; -} - -.swagger-ui .model-box { - padding: 10px; - border-radius: 0px; - background: rgba(0, 0, 0, 0.1); -} - -.swagger-ui .model-box .model-jump-to-path { - position: relative; - top: 4px; -} - -.swagger-ui .model-title { - font-size: 16px; - font-family: "Cal Sans", sans-serif; - color: white; -} - -.swagger-ui span > span.model, -.swagger-ui span > span.model .brace-close { - padding: 0 0 0 10px; -} - -.swagger-ui .prop-type { - color: black; - font-size: 12px; - font-weight: 200; - letter-spacing: 0.065em; -} - -.swagger-ui .prop-enum { - display: block; -} - -.swagger-ui .prop-format { - color: #999; -} - -.swagger-ui table { - width: 100%; - padding: 0 10px; - border-collapse: collapse; -} - -.swagger-ui table.model tbody tr td { - padding: 0; - vertical-align: top; -} - -.swagger-ui table.model tbody tr td:first-of-type { - width: 100px; - padding: 0; -} - -.swagger-ui table.headers td { - font-size: 12px; - font-weight: 300; - vertical-align: middle; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #3b4151; -} - -.swagger-ui table tbody tr td { - padding: 10px 0 0; - vertical-align: top; -} - -.swagger-ui table tbody tr td:first-of-type { - width: 20%; - padding: 10px 0; -} - -.swagger-ui table thead tr td, -.swagger-ui table thead tr th { - font-size: 12px; - font-weight: 700; - padding: 12px 0; - text-align: left; - border-bottom: 1px solid rgba(59, 65, 81, 0.2); - font-family: Open Sans, sans-serif; - color: #3b4151; -} - -.swagger-ui .parameters-col_description p { - font-size: 14px; - margin: 0; - font-family: Open Sans, sans-serif; - color: #3b4151; -} - -.swagger-ui .parameters-col_description input[type="text"] { - width: 100%; - max-width: 340px; -} - -.swagger-ui .parameter__name { - font-size: 16px; - font-weight: 400; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui .parameter__name.required { - font-weight: 700; -} - -.swagger-ui .parameter__name.required:after { - font-size: 10px; - position: relative; - top: -6px; - padding: 5px; - content: "required"; - color: rgba(255, 0, 0, 0.6); -} - -.swagger-ui .parameter__in { - font-size: 12px; - font-style: italic; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #888; -} - -.swagger-ui .table-container { - padding: 20px; -} - -.swagger-ui .topbar { - padding: 8px 30px; - background-color: #89bf04; -} - -.swagger-ui .topbar .topbar-wrapper { - -ms-flex-align: center; -} - -.swagger-ui .topbar .topbar-wrapper, -.swagger-ui .topbar a { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - align-items: center; -} - -.swagger-ui .topbar a { - font-size: 1.5em; - font-weight: 700; - text-decoration: none; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - -ms-flex-align: center; - font-family: "Cal Sans", sans-serif; - color: #fff; -} - -.swagger-ui .topbar a span { - margin: 0; - padding: 0 10px; -} - -.swagger-ui .topbar .download-url-wrapper { - display: -webkit-box; - display: -ms-flexbox; - display: flex; -} - -.swagger-ui .topbar .download-url-wrapper input[type="text"] { - min-width: 350px; - margin: 0; - border: 2px solid #547f00; - border-radius: 0; - outline: none; -} - -.swagger-ui .topbar .download-url-wrapper .download-url-button { - font-size: 16px; - font-weight: 700; - padding: 4px 40px; - border: none; - border-radius: 0px; - background: #547f00; - font-family: "Cal Sans", sans-serif; - color: #fff; -} - -.swagger-ui .info { - margin: 50px 0; -} - -.swagger-ui .info hgroup.main { - margin: 0 0 20px; -} - -.swagger-ui .info hgroup.main a { - font-size: 12px; -} - -.swagger-ui .info p { - font-size: 14px; - font-family: Open Sans, sans-serif; - color: #3b4151; -} - -.swagger-ui .info code { - padding: 3px 5px; - border-radius: 0px; - background: rgba(0, 0, 0, 0.05); - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #9012fe; -} - -.swagger-ui .info a { - font-size: 14px; - -webkit-transition: all 0.4s; - transition: all 0.4s; - font-family: Open Sans, sans-serif; - color: #4990e2; -} - -.swagger-ui .info a:hover { - color: #1f69c0; -} - -.swagger-ui .info > div { - margin: 0 0 5px; -} - -.swagger-ui .info .base-url { - font-size: 12px; - font-weight: 300 !important; - margin: 0; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #3b4151; -} - -.swagger-ui .info .title { - font-size: 36px; - margin: 0; - font-family: Open Sans, sans-serif; - color: #3b4151; -} - -.swagger-ui .info .title small { - font-size: 10px; - position: relative; - top: -5px; - display: inline-block; - margin: 0 0 0 5px; - padding: 2px 4px; - vertical-align: super; - border-radius: 0px; - background: #7d8492; -} - -.swagger-ui .info .title small pre { - margin: 0; - font-family: "Cal Sans", sans-serif; - color: #fff; -} - -.swagger-ui .auth-btn-wrapper { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - padding: 10px 0; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; -} - -.swagger-ui .auth-wrapper { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.swagger-ui .auth-wrapper .authorize { - padding-right: 20px; -} - -.swagger-ui .auth-container { - margin: 0 0 10px; - padding: 10px 20px; - border-bottom: 1px solid #ebebeb; -} - -.swagger-ui .auth-container:last-of-type { - margin: 0; - padding: 10px 20px; - border: 0; -} - -.swagger-ui .auth-container h4 { - margin: 5px 0 15px !important; -} - -.swagger-ui .auth-container .wrapper { - margin: 0; - padding: 0; -} - -.swagger-ui .auth-container input[type="password"], -.swagger-ui .auth-container input[type="text"] { - min-width: 230px; -} - -.swagger-ui .auth-container .errors { - font-size: 12px; - padding: 10px; - border-radius: 0px; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #3b4151; -} - -.swagger-ui .scopes h2 { - font-size: 14px; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -.swagger-ui .scope-def { - padding: 0 0 20px; -} - -.swagger-ui .errors-wrapper { - margin: 20px; - padding: 10px 20px; - -webkit-animation: scaleUp 0.5s; - animation: scaleUp 0.5s; - border: 2px solid #f93e3e; - border-radius: 0px; - background: rgba(249, 62, 62, 0.1); -} - -.swagger-ui .errors-wrapper .error-wrapper { - margin: 0 0 10px; -} - -.swagger-ui .errors-wrapper .errors h4 { - font-size: 14px; - margin: 0; - font-family: "Cal Sans", monospace; - font-weight: 600; - color: #3b4151; -} - -.swagger-ui .errors-wrapper hgroup { - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.swagger-ui .errors-wrapper hgroup h4 { - font-size: 20px; - margin: 0; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - font-family: "Cal Sans", sans-serif; - color: #3b4151; -} - -@-webkit-keyframes scaleUp { - 0% { - -webkit-transform: scale(0.8); - transform: scale(0.8); - opacity: 0; - } - to { - -webkit-transform: scale(1); - transform: scale(1); - opacity: 1; - } -} - -@keyframes scaleUp { - 0% { - -webkit-transform: scale(0.8); - transform: scale(0.8); - opacity: 0; - } - to { - -webkit-transform: scale(1); - transform: scale(1); - opacity: 1; - } -} - -.swagger-ui .Resizer.vertical.disabled { - display: none; -} - -/*# sourceMappingURL=swagger-ui.css.map*/ - -/** - * Swagger UI Theme Overrides - * - * Theme: Newspaper - * Author: Mark Ostrander - * Github: https://github.com/ostranme/swagger-ui-themes - */ - -/* .swagger-ui .opblock.opblock-post { - border-color: #dadfe1; - background: rgba(34, 34, 34, 0.1); -} - -.swagger-ui .opblock.opblock-post .opblock-summary-method { - background: #222222; -} - -.swagger-ui .opblock.opblock-post .opblock-summary { - border-color: #dadfe1; -} - -.swagger-ui .opblock.opblock-put { - border-color: #dadfe1; - background: rgba(34, 34, 34, 0.1); -} - -.swagger-ui .opblock.opblock-put .opblock-summary-method { - background: #222222; -} - -.swagger-ui .opblock.opblock-put .opblock-summary { - border-color: #dadfe1; -} */ - -// COLOR: ADDS RED BG TO DELETE -/* .swagger-ui .opblock.opblock-delete { - border-color: #dadfe1; - background: rgba(34, 34, 34, 0.1); -} */ - -/* .swagger-ui .opblock.opblock-delete .opblock-summary-method { - background: #222222; -} - -.swagger-ui .opblock.opblock-delete .opblock-summary { - border-color: #dadfe1; -} - -.swagger-ui .opblock.opblock-get { - border-color: #dadfe1; - background: rgba(34, 34, 34, 0.1); -} - -.swagger-ui .opblock.opblock-get .opblock-summary-method { - background: #222222; -} - -.swagger-ui .opblock.opblock-get .opblock-summary { - border-color: #dadfe1; -} */ - -/* .swagger-ui .opblock.opblock-patch { - border-color: #dadfe1; - background: rgba(34, 34, 34, 0.1); -} */ - -/* .swagger-ui .opblock.opblock-patch .opblock-summary-method { - background: #222222; -} */ - -.swagger-ui .opblock.opblock-patch .opblock-summary { - border-color: #dadfe1; -} - -.swagger-ui .opblock.opblock-head { - border-color: #dadfe1; - background: rgba(34, 34, 34, 0.1); -} - -.swagger-ui .opblock.opblock-head .opblock-summary-method { - background: #222222; -} - -.swagger-ui .opblock.opblock-head .opblock-summary { - border-color: #dadfe1; -} - -.swagger-ui .opblock.opblock-options { - border-color: #dadfe1; - background: rgba(34, 34, 34, 0.1); -} - -.swagger-ui .opblock.opblock-options .opblock-summary-method { - background: #222222; -} - -.swagger-ui .opblock.opblock-options .opblock-summary { - border-color: #dadfe1; -} - -.swagger-ui .topbar { - padding: 8px 30px; - background-color: #222222; -} -.swagger-ui .topbar .download-url-wrapper input[type="text"] { - min-width: 350px; - margin: 0; - border: 2px solid #dadfe1; - border-radius: 0; - outline: none; -} - -.swagger-ui .topbar .download-url-wrapper .download-url-button { - font-size: 16px; - font-weight: 700; - padding: 4px 40px; - border: none; - border-radius: 0px; - background: #dadfe1; - font-family: "Cal Sans", sans-serif; - color: #222222; -} - -.swagger-ui .info a { - font-size: 14px; - -webkit-transition: all 0.4s; - transition: all 0.4s; - font-family: Open Sans, sans-serif; - color: #222222; -} - -.swagger-ui .info a:hover { - color: #222222; -} - -.swagger-ui .btn.authorize { - line-height: 1; - display: inline; - color: #222222; - border-color: #222222; -} -.swagger-ui .btn.authorize svg { - fill: #222222; -} diff --git a/apps/swagger/tsconfig.json b/apps/swagger/tsconfig.json index b8d597880a..70f2e5edf4 100644 --- a/apps/swagger/tsconfig.json +++ b/apps/swagger/tsconfig.json @@ -13,7 +13,11 @@ "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "incremental": true + "incremental": true, + "baseUrl": ".", + "paths": { + "@lib/*": ["lib/*"] + } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules"] diff --git a/apps/website b/apps/website index 06778de545..3df94a7d46 160000 --- a/apps/website +++ b/apps/website @@ -1 +1 @@ -Subproject commit 06778de545d70e18ab5f0b4441777b93eae6a7f1 +Subproject commit 3df94a7d46c3b75c0f9ca67a3dd42ec3776fa539 diff --git a/yarn.lock b/yarn.lock index cb5650e68f..089b7df362 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3870,7 +3870,7 @@ resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-4.0.5.tgz#738dd390a6ecc5442f35e7f03fa1431353f7e138" integrity sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA== -"@types/json-schema@^7.0.6", "@types/json-schema@^7.0.9": +"@types/json-schema@^7.0.6", "@types/json-schema@^7.0.7", "@types/json-schema@^7.0.9": version "7.0.11" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== @@ -4442,6 +4442,11 @@ ansi-regex@^6.0.1: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== +ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" + integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= + ansi-styles@^3.1.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" @@ -5473,6 +5478,17 @@ chalk@4.1.2, chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: ansi-styles "^4.1.0" supports-color "^7.1.0" +chalk@^1.1.1: + version "1.1.3" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" + integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + chalk@^2.0.0, chalk@^2.4.1: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -5812,7 +5828,7 @@ commander@9.1.0: resolved "https://registry.yarnpkg.com/commander/-/commander-9.1.0.tgz#a6b263b2327f2e188c6402c42623327909f2dbec" integrity sha512-i0/MaqBtdbnJ4XQs4Pmyb+oFQl+q0lsAmokVUH92SlSw4fkeAcG3bVon+Qt7hmtF+u3Het6o4VgrcY3qAoEB6w== -commander@^2.7.1, commander@^2.8.1: +commander@^2.7.1, commander@^2.8.1, commander@^2.9.0: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== @@ -6559,7 +6575,7 @@ duplexer3@^0.1.4: resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI= -duplexer@^0.1.2: +duplexer@^0.1.2, duplexer@~0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== @@ -7286,6 +7302,19 @@ ethjs-unit@0.1.6: bn.js "4.11.6" number-to-bn "1.7.0" +event-stream@3.3.4: + version "3.3.4" + resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571" + integrity sha1-SrTJoPWlTbkzi0w02Gv86PSzVXE= + dependencies: + duplexer "~0.1.1" + from "~0" + map-stream "~0.1.0" + pause-stream "0.0.11" + split "0.3" + stream-combiner "~0.0.4" + through "~2.3.1" + event-target-shim@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" @@ -7827,7 +7856,7 @@ for-in@^1.0.2: resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= -foreach@^2.0.5, foreach@~2.0.1: +foreach@^2.0.4, foreach@^2.0.5, foreach@~2.0.1: version "2.0.5" resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" integrity sha1-C+4AUBiusmDQo6865ljdATbsG5k= @@ -7842,6 +7871,15 @@ form-data-encoder@^1.4.3: resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-1.7.2.tgz#1f1ae3dccf58ed4690b86d87e4f57c654fbab040" integrity sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A== +form-data@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.0.tgz#31b7e39c85f1355b7139ee0c647cf0de7f83c682" + integrity sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + form-data@^2.5.0: version "2.5.1" resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.5.1.tgz#f2cbec57b5e59e23716e128fe44d4e5dd23895f4" @@ -7912,6 +7950,11 @@ from2@^2.1.1: inherits "^2.0.1" readable-stream "^2.0.0" +from@~0: + version "0.1.7" + resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe" + integrity sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4= + fs-constants@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" @@ -7942,6 +7985,21 @@ fs-minipass@^1.2.7: dependencies: minipass "^2.6.0" +fs-readfile-promise@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/fs-readfile-promise/-/fs-readfile-promise-2.0.1.tgz#80023823981f9ffffe01609e8be668f69ae49e70" + integrity sha1-gAI4I5gfn//+AWCei+Zo9prknnA= + dependencies: + graceful-fs "^4.1.2" + +fs-writefile-promise@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/fs-writefile-promise/-/fs-writefile-promise-1.0.3.tgz#e02f9b58ffc255ed822adc7a01114f445d48d063" + integrity sha1-4C+bWP/CVe2CKtx6ARFPRF1I0GM= + dependencies: + mkdirp-promise "^1.0.0" + pinkie-promise "^1.0.0" + fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -8038,6 +8096,11 @@ get-nonce@^1.0.0: resolved "https://registry.yarnpkg.com/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3" integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q== +get-own-enumerable-property-symbols@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664" + integrity sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g== + get-package-type@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" @@ -8375,7 +8438,7 @@ har-schema@^2.0.0: resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= -har-validator@~5.1.3: +har-validator@^5.0.0, har-validator@~5.1.3: version "5.1.5" resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd" integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w== @@ -8383,6 +8446,13 @@ har-validator@~5.1.3: ajv "^6.12.3" har-schema "^2.0.0" +has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" + integrity sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE= + dependencies: + ansi-regex "^2.0.0" + has-bigints@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.1.tgz#64fe6acb020673e3b78db035a5af69aa9d07b113" @@ -8564,6 +8634,11 @@ highlight.js@^10.4.1, highlight.js@^10.7.1, highlight.js@~10.7.0: resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.7.3.tgz#697272e3991356e40c3cac566a74eef681756531" integrity sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A== +highlight.js@^11.5.1: + version "11.5.1" + resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-11.5.1.tgz#027c24e4509e2f4dcd00b4a6dda542ce0a1f7aea" + integrity sha512-LKzHqnxr4CrD2YsNoIf/o5nJ09j4yi/GcH5BnYz9UnVpZdS4ucMgvP61TDty5xJcFGRjnH4DpujkS9bHT3hq0Q== + history@^4.9.0: version "4.10.1" resolved "https://registry.yarnpkg.com/history/-/history-4.10.1.tgz#33371a65e3a83b267434e2b3f3b1b4c58aad4cf3" @@ -8694,6 +8769,21 @@ https-proxy-agent@5.0.0, https-proxy-agent@^5.0.0: agent-base "6" debug "4" +httpsnippet@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/httpsnippet/-/httpsnippet-2.0.0.tgz#695bc2e662535b37a993d25f40b3496b5ae82350" + integrity sha512-Hb2ttfB5OhasYxwChZ8QKpYX3v4plNvwMaMulUIC7M3RHRDf1Op6EMp47LfaU2sgQgfvo5spWK4xRAirMEisrg== + dependencies: + chalk "^1.1.1" + commander "^2.9.0" + debug "^2.2.0" + event-stream "3.3.4" + form-data "3.0.0" + fs-readfile-promise "^2.0.1" + fs-writefile-promise "^1.0.3" + har-validator "^5.0.0" + stringify-object "^3.3.0" + human-signals@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" @@ -9218,6 +9308,11 @@ is-number@^7.0.0: resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== +is-obj@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" + integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= + is-object@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.2.tgz#a56552e1c665c9e950b4a025461da87e72f86fcf" @@ -9280,6 +9375,11 @@ is-regex@^1.1.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" +is-regexp@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" + integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk= + is-retry-allowed@^1.0.0, is-retry-allowed@^1.1.0: version "1.2.0" resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" @@ -10387,6 +10487,13 @@ json-parse-even-better-errors@^2.3.0: resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== +json-pointer@0.6.2: + version "0.6.2" + resolved "https://registry.yarnpkg.com/json-pointer/-/json-pointer-0.6.2.tgz#f97bd7550be5e9ea901f8c9264c9d436a22a93cd" + integrity sha512-vLWcKbOaXlO+jvRy4qNd+TI1QUPZzfJj1tpJ3vAXDych5XJf93ftpUKe5pKCrzyIIwgBJcOcCVRUfqQP25afBw== + dependencies: + foreach "^2.0.4" + json-rpc-engine@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/json-rpc-engine/-/json-rpc-engine-6.1.0.tgz#bf5ff7d029e1c1bf20cb6c0e9f348dcd8be5a393" @@ -10971,6 +11078,11 @@ map-cache@^0.2.2: resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8= +map-stream@~0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.1.0.tgz#e56aa94c4c8055a16404a0674b78f215f7c8e194" + integrity sha1-5WqpTEyAVaFkBKBnS3jyFffI4ZQ= + map-visit@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" @@ -11763,6 +11875,11 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" +mkdirp-promise@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/mkdirp-promise/-/mkdirp-promise-1.1.0.tgz#2c84893ed676e0d98fb18fb9a6212fd1b2b9a819" + integrity sha1-LISJPtZ24NmPsY+5piEv0bK5qBk= + mkdirp-promise@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz#e9b8f68e552c68a9c1713b84883f7a1dd039b8a1" @@ -12499,6 +12616,22 @@ open@8.4.0: is-docker "^2.1.1" is-wsl "^2.2.0" +openapi-sampler@^1.0.0-beta.14: + version "1.2.1" + resolved "https://registry.yarnpkg.com/openapi-sampler/-/openapi-sampler-1.2.1.tgz#2ca9eea527f8f2ddb32c3ae1dda31afd8bf0833f" + integrity sha512-mHrYmyvcLD0qrfqPkPRBAL2z16hGT2rW0d0B7nklfoTcc3pmkJLkSZlKSeFgerUM41E5c7jlxf0Y19xrM7mWQQ== + dependencies: + "@types/json-schema" "^7.0.7" + json-pointer "0.6.2" + +openapi-snippet@^0.13.0: + version "0.13.0" + resolved "https://registry.yarnpkg.com/openapi-snippet/-/openapi-snippet-0.13.0.tgz#44e15a723a09b218951ff52ddc7c580202add81f" + integrity sha512-tDeTn/fbT9RpPIQJfQhki2czQzsaPAjNuyXDMp2DUFpwSoFjqGbFgEj8nU23nsRsVkwfqYvobOpTgGPpOFFLzQ== + dependencies: + httpsnippet "^2.0.0" + openapi-sampler "^1.0.0-beta.14" + opener@^1.5.2: version "1.5.2" resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" @@ -12877,6 +13010,13 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== +pause-stream@0.0.11: + version "0.0.11" + resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445" + integrity sha1-/lo0sMvOErWqaitAPuLnO2AvFEU= + dependencies: + through "~2.3" + pbkdf2@^3.0.17, pbkdf2@^3.0.3: version "3.1.2" resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" @@ -13002,6 +13142,13 @@ pify@^4.0.1: resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== +pinkie-promise@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-1.0.0.tgz#d1da67f5482563bb7cf57f286ae2822ecfbf3670" + integrity sha1-0dpn9UglY7t89X8oauKCLs+/NnA= + dependencies: + pinkie "^1.0.0" + pinkie-promise@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" @@ -13009,6 +13156,11 @@ pinkie-promise@^2.0.0: dependencies: pinkie "^2.0.0" +pinkie@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-1.0.0.tgz#5a47f28ba1015d0201bda7bf0f358e47bec8c7e4" + integrity sha1-Wkfyi6EBXQIBvae/DzWOR77Ix+Q= + pinkie@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" @@ -14952,6 +15104,13 @@ split2@^4.1.0: resolved "https://registry.yarnpkg.com/split2/-/split2-4.1.0.tgz#101907a24370f85bb782f08adaabe4e281ecf809" integrity sha512-VBiJxFkxiXRlUIeyMQi8s4hgvKCSjtknJv/LVYbrgALPwf5zSKmEwV9Lst25AkvMDnvxODugjdl6KZgwKM1WYQ== +split@0.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/split/-/split-0.3.3.tgz#cd0eea5e63a211dfff7eb0f091c4133e2d0dd28f" + integrity sha1-zQ7qXmOiEd//frDwkcQTPi0N0o8= + dependencies: + through "2" + sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" @@ -15002,6 +15161,13 @@ statuses@2.0.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= +stream-combiner@~0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/stream-combiner/-/stream-combiner-0.0.4.tgz#4d5e433c185261dde623ca3f44c586bcf5c4ad14" + integrity sha1-TV5DPBhSYd3mI8o/RMWGvPXErRQ= + dependencies: + duplexer "~0.1.1" + strict-uri-encode@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" @@ -15118,6 +15284,15 @@ stringify-entities@^4.0.0, stringify-entities@^4.0.2: character-entities-html4 "^2.0.0" character-entities-legacy "^3.0.0" +stringify-object@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/stringify-object/-/stringify-object-3.3.0.tgz#703065aefca19300d3ce88af4f5b3956d7556629" + integrity sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw== + dependencies: + get-own-enumerable-property-symbols "^3.0.0" + is-obj "^1.0.1" + is-regexp "^1.0.0" + strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" @@ -15228,6 +15403,11 @@ superjson@1.8.1: debug "^4.3.1" lodash.clonedeep "^4.5.0" +supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" + integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= + supports-color@^4.0.0: version "4.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" @@ -15483,7 +15663,7 @@ throat@^6.0.1: resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.1.tgz#d514fedad95740c12c2d7fc70ea863eb51ade375" integrity sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w== -through@^2.3.6, through@^2.3.8: +through@2, through@^2.3.6, through@^2.3.8, through@~2.3, through@~2.3.1: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= @@ -17278,7 +17458,7 @@ zod-prisma@^0.5.4: parenthesis "^3.1.8" ts-morph "^13.0.2" -zod@^3.14.4: +zod@^3.14.4, zod@^3.9.5: version "3.14.4" resolved "https://registry.yarnpkg.com/zod/-/zod-3.14.4.tgz#e678fe9e5469f4663165a5c35c8f3dc66334a5d6" integrity sha512-U9BFLb2GO34Sfo9IUYp0w3wJLlmcyGoMd75qU9yf+DrdGA4kEx6e+l9KOkAlyUO0PSQzZCa3TR4qVlcmwqSDuw==