@scalar/api-reference 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/Content/ReferenceEndpoint/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/components/Content/ReferenceEndpoint/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/components/HelpfulLink.vue.d.ts +20 -0
- package/dist/components/HelpfulLink.vue.d.ts.map +1 -0
- package/dist/components/SearchModal.vue.d.ts.map +1 -1
- package/dist/components/SimpleTable/SimpleCell.vue.d.ts +40 -0
- package/dist/components/SimpleTable/SimpleCell.vue.d.ts.map +1 -0
- package/dist/components/SimpleTable/SimpleHeader.vue.d.ts +10 -0
- package/dist/components/SimpleTable/SimpleHeader.vue.d.ts.map +1 -0
- package/dist/components/SimpleTable/SimpleRow.vue.d.ts +10 -0
- package/dist/components/SimpleTable/SimpleRow.vue.d.ts.map +1 -0
- package/dist/components/SimpleTable/SimpleTable.vue.d.ts +10 -0
- package/dist/components/SimpleTable/SimpleTable.vue.d.ts.map +1 -0
- package/dist/components/SimpleTable/index.d.ts +5 -0
- package/dist/components/SimpleTable/index.d.ts.map +1 -0
- package/dist/index.js +32962 -37640
- package/package.json +10 -10
- package/src/components/ApiClientModal.vue +205 -0
- package/src/components/ApiReference.vue +754 -0
- package/src/components/Card/Card.vue +12 -0
- package/src/components/Card/CardContent.vue +45 -0
- package/src/components/Card/CardFooter.vue +13 -0
- package/src/components/Card/CardHeader.vue +37 -0
- package/src/components/Card/CardTab.vue +32 -0
- package/src/components/Card/CardTabHeader.vue +32 -0
- package/src/components/Card/index.ts +6 -0
- package/src/components/Content/Content.vue +145 -0
- package/src/components/Content/Introduction/BaseUrl.vue +32 -0
- package/src/components/Content/Introduction/Introduction.vue +141 -0
- package/src/components/Content/Introduction/LanguageSelector.vue +361 -0
- package/src/components/Content/Introduction/index.ts +1 -0
- package/src/components/Content/MarkdownRenderer.vue +174 -0
- package/src/components/Content/ReferenceEndpoint/Copy.vue +100 -0
- package/src/components/Content/ReferenceEndpoint/ExampleRequest.vue +317 -0
- package/src/components/Content/ReferenceEndpoint/ExampleResponseTab.vue +22 -0
- package/src/components/Content/ReferenceEndpoint/ExampleResponses.vue +168 -0
- package/src/components/Content/ReferenceEndpoint/ParameterItem.vue +26 -0
- package/src/components/Content/ReferenceEndpoint/Parameters.vue +23 -0
- package/src/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue +29 -0
- package/src/components/Content/ReferenceEndpoint/RequestBody.vue +125 -0
- package/src/components/Content/ReferenceEndpoint/RequestBodyProperties.vue +54 -0
- package/src/components/Content/ReferenceEndpoint/RequestBodyPropertiesChild.vue +39 -0
- package/src/components/Content/ReferenceEndpoint/index.ts +1 -0
- package/src/components/Content/ReferenceTag.vue +99 -0
- package/src/components/Content/Spinner.vue +51 -0
- package/src/components/Content/index.ts +1 -0
- package/src/components/FindAnythingButton.vue +76 -0
- package/src/components/FlowButton.vue +184 -0
- package/src/components/FlowIconButton.vue +25 -0
- package/src/components/FlowLoader.vue +207 -0
- package/src/components/FlowModal.vue +133 -0
- package/src/components/HelpfulLink.vue +19 -0
- package/src/components/Icon/FlowIcon.vue +19 -0
- package/src/components/Icon/Icon.vue +23 -0
- package/src/components/Icon/SvgRenderer.ts +66 -0
- package/src/components/Icon/brand/brand-adobe.svg +1 -0
- package/src/components/Icon/brand/brand-amazon.svg +1 -0
- package/src/components/Icon/brand/brand-browser-firefox.svg +5 -0
- package/src/components/Icon/brand/brand-browser-googlechrome.svg +5 -0
- package/src/components/Icon/brand/brand-creative-commons.svg +1 -0
- package/src/components/Icon/brand/brand-ecommerce-etsy.svg +1 -0
- package/src/components/Icon/brand/brand-ecommerce-patreon.svg +1 -0
- package/src/components/Icon/brand/brand-ecommerce-shopify.svg +5 -0
- package/src/components/Icon/brand/brand-ecommerce-wordpress.svg +1 -0
- package/src/components/Icon/brand/brand-gaming-nintendo-switch.svg +5 -0
- package/src/components/Icon/brand/brand-gaming-playstation.svg +1 -0
- package/src/components/Icon/brand/brand-gaming-xbox-live.svg +5 -0
- package/src/components/Icon/brand/brand-google-drive.svg +5 -0
- package/src/components/Icon/brand/brand-google-gmail.svg +5 -0
- package/src/components/Icon/brand/brand-google.svg +1 -0
- package/src/components/Icon/brand/brand-music-itunes.svg +1 -0
- package/src/components/Icon/brand/brand-music-soundcloud.svg +1 -0
- package/src/components/Icon/brand/brand-music-spotify.svg +1 -0
- package/src/components/Icon/brand/brand-office-dropbox.svg +5 -0
- package/src/components/Icon/brand/brand-office-slack.svg +5 -0
- package/src/components/Icon/brand/brand-office-zoom.svg +1 -0
- package/src/components/Icon/brand/brand-payments-alipay.svg +1 -0
- package/src/components/Icon/brand/brand-payments-paypal.svg +1 -0
- package/src/components/Icon/brand/brand-payments-stripe.svg +1 -0
- package/src/components/Icon/brand/brand-platform-android.svg +1 -0
- package/src/components/Icon/brand/brand-platform-apple.svg +5 -0
- package/src/components/Icon/brand/brand-platform-linux.svg +5 -0
- package/src/components/Icon/brand/brand-platform-microsoft-windows.svg +4 -0
- package/src/components/Icon/brand/brand-social-chat-discord.svg +5 -0
- package/src/components/Icon/brand/brand-social-chat-kuaishou.svg +5 -0
- package/src/components/Icon/brand/brand-social-chat-line.svg +5 -0
- package/src/components/Icon/brand/brand-social-chat-messenger.svg +5 -0
- package/src/components/Icon/brand/brand-social-chat-signal.svg +5 -0
- package/src/components/Icon/brand/brand-social-chat-snapchat.svg +5 -0
- package/src/components/Icon/brand/brand-social-chat-telegram.svg +5 -0
- package/src/components/Icon/brand/brand-social-chat-wechat.svg +5 -0
- package/src/components/Icon/brand/brand-social-chat-whatsapp.svg +5 -0
- package/src/components/Icon/brand/brand-social-media-deviantart.svg +5 -0
- package/src/components/Icon/brand/brand-social-media-dribbble.svg +1 -0
- package/src/components/Icon/brand/brand-social-media-facebook.svg +1 -0
- package/src/components/Icon/brand/brand-social-media-instagram.svg +5 -0
- package/src/components/Icon/brand/brand-social-media-linkedin.svg +5 -0
- package/src/components/Icon/brand/brand-social-media-pinterest.svg +5 -0
- package/src/components/Icon/brand/brand-social-media-reddit.svg +1 -0
- package/src/components/Icon/brand/brand-social-media-sina-weibo.svg +5 -0
- package/src/components/Icon/brand/brand-social-media-threads.svg +1 -0
- package/src/components/Icon/brand/brand-social-media-tiktok.svg +5 -0
- package/src/components/Icon/brand/brand-social-media-tinder.svg +1 -0
- package/src/components/Icon/brand/brand-social-media-tumblr.svg +5 -0
- package/src/components/Icon/brand/brand-social-media-twitter.svg +5 -0
- package/src/components/Icon/brand/brand-software-design-figma.svg +1 -0
- package/src/components/Icon/brand/brand-software-development-authy.svg +1 -0
- package/src/components/Icon/brand/brand-software-development-digital-ocean.svg +1 -0
- package/src/components/Icon/brand/brand-software-development-docker.svg +5 -0
- package/src/components/Icon/brand/brand-software-development-github.svg +5 -0
- package/src/components/Icon/brand/brand-software-development-jira.svg +1 -0
- package/src/components/Icon/brand/brand-software-development-openai.svg +1 -0
- package/src/components/Icon/brand/brand-software-development-stackexchange.svg +5 -0
- package/src/components/Icon/brand/brand-software-development-stackoverflow.svg +1 -0
- package/src/components/Icon/brand/brand-video-netflix.svg +5 -0
- package/src/components/Icon/brand/brand-video-twitch.svg +1 -0
- package/src/components/Icon/brand/brand-video-vimeo.svg +5 -0
- package/src/components/Icon/brand/brand-video-youtube.svg +5 -0
- package/src/components/Icon/brand/programming-framework-angular.svg +5 -0
- package/src/components/Icon/brand/programming-framework-astro.svg +5 -0
- package/src/components/Icon/brand/programming-framework-laravel.svg +1 -0
- package/src/components/Icon/brand/programming-framework-nextdotjs.svg +5 -0
- package/src/components/Icon/brand/programming-framework-react.svg +5 -0
- package/src/components/Icon/brand/programming-framework-vuedotjs.svg +1 -0
- package/src/components/Icon/brand/programming-language-c.svg +5 -0
- package/src/components/Icon/brand/programming-language-clojure.svg +5 -0
- package/src/components/Icon/brand/programming-language-csharp.svg +4 -0
- package/src/components/Icon/brand/programming-language-css3.svg +4 -0
- package/src/components/Icon/brand/programming-language-go.svg +4 -0
- package/src/components/Icon/brand/programming-language-html5.svg +4 -0
- package/src/components/Icon/brand/programming-language-java.svg +21 -0
- package/src/components/Icon/brand/programming-language-javascript-js.svg +4 -0
- package/src/components/Icon/brand/programming-language-json.svg +8 -0
- package/src/components/Icon/brand/programming-language-kotlin.svg +3 -0
- package/src/components/Icon/brand/programming-language-node.svg +10 -0
- package/src/components/Icon/brand/programming-language-objc.svg +6 -0
- package/src/components/Icon/brand/programming-language-ocaml.svg +4 -0
- package/src/components/Icon/brand/programming-language-php.svg +4 -0
- package/src/components/Icon/brand/programming-language-powershell.svg +10 -0
- package/src/components/Icon/brand/programming-language-python.svg +4 -0
- package/src/components/Icon/brand/programming-language-r.svg +7 -0
- package/src/components/Icon/brand/programming-language-ruby.svg +5 -0
- package/src/components/Icon/brand/programming-language-scala.svg +5 -0
- package/src/components/Icon/brand/programming-language-shell.svg +5 -0
- package/src/components/Icon/brand/programming-language-swift.svg +4 -0
- package/src/components/Icon/brand/programming-language-typescript.svg +5 -0
- package/src/components/Icon/brand/programming-tool-git.svg +1 -0
- package/src/components/Icon/brand/programming-tool-tailwindcss.svg +5 -0
- package/src/components/Icon/icons/Add.svg +4 -0
- package/src/components/Icon/icons/ArrowDown.svg +3 -0
- package/src/components/Icon/icons/ArrowLeft.svg +3 -0
- package/src/components/Icon/icons/ArrowRight.svg +3 -0
- package/src/components/Icon/icons/ArrowUp.svg +3 -0
- package/src/components/Icon/icons/Background.svg +8 -0
- package/src/components/Icon/icons/CallToAction.svg +5 -0
- package/src/components/Icon/icons/CheckMark.svg +3 -0
- package/src/components/Icon/icons/ChevronDown.svg +3 -0
- package/src/components/Icon/icons/ChevronLeft.svg +3 -0
- package/src/components/Icon/icons/ChevronRight.svg +3 -0
- package/src/components/Icon/icons/ChevronUp.svg +3 -0
- package/src/components/Icon/icons/Close.svg +3 -0
- package/src/components/Icon/icons/DarkMode.svg +4 -0
- package/src/components/Icon/icons/Delete.svg +5 -0
- package/src/components/Icon/icons/Discord.svg +5 -0
- package/src/components/Icon/icons/Duplicate.svg +6 -0
- package/src/components/Icon/icons/Edit.svg +4 -0
- package/src/components/Icon/icons/EditorBold.svg +4 -0
- package/src/components/Icon/icons/EditorCode.svg +6 -0
- package/src/components/Icon/icons/EditorHighlight.svg +12 -0
- package/src/components/Icon/icons/EditorItalic.svg +4 -0
- package/src/components/Icon/icons/EditorLink.svg +8 -0
- package/src/components/Icon/icons/EditorStrike.svg +4 -0
- package/src/components/Icon/icons/EditorUnderline.svg +6 -0
- package/src/components/Icon/icons/Ellipses.svg +4 -0
- package/src/components/Icon/icons/Error.svg +4 -0
- package/src/components/Icon/icons/ExternalLink.svg +7 -0
- package/src/components/Icon/icons/Folder.svg +4 -0
- package/src/components/Icon/icons/GitHub.svg +4 -0
- package/src/components/Icon/icons/Google.svg +4 -0
- package/src/components/Icon/icons/Hide.svg +5 -0
- package/src/components/Icon/icons/Key.svg +5 -0
- package/src/components/Icon/icons/Leave.svg +5 -0
- package/src/components/Icon/icons/LightMode.svg +6 -0
- package/src/components/Icon/icons/Link.svg +5 -0
- package/src/components/Icon/icons/Lock.svg +4 -0
- package/src/components/Icon/icons/Logo.svg +4 -0
- package/src/components/Icon/icons/LogoAPI.svg +4 -0
- package/src/components/Icon/icons/LogoClient.svg +4 -0
- package/src/components/Icon/icons/LogoMarket.svg +4 -0
- package/src/components/Icon/icons/LogoSwagger.svg +4 -0
- package/src/components/Icon/icons/Magic.svg +5 -0
- package/src/components/Icon/icons/Menu.svg +3 -0
- package/src/components/Icon/icons/Page.svg +8 -0
- package/src/components/Icon/icons/Payment.svg +5 -0
- package/src/components/Icon/icons/Refresh.svg +4 -0
- package/src/components/Icon/icons/Search.svg +4 -0
- package/src/components/Icon/icons/Show.svg +5 -0
- package/src/components/Icon/icons/Sigma.svg +4 -0
- package/src/components/Icon/icons/Trash.svg +5 -0
- package/src/components/Icon/icons/index.ts +65 -0
- package/src/components/Icon/index.ts +2 -0
- package/src/components/Icon/line/arrow-chevron-down.svg +1 -0
- package/src/components/Icon/line/arrow-chevron-left.svg +1 -0
- package/src/components/Icon/line/arrow-chevron-right.svg +1 -0
- package/src/components/Icon/line/arrow-chevron-up.svg +1 -0
- package/src/components/Icon/line/arrow-down.svg +1 -0
- package/src/components/Icon/line/arrow-left.svg +1 -0
- package/src/components/Icon/line/arrow-right.svg +1 -0
- package/src/components/Icon/line/arrow-up.svg +1 -0
- package/src/components/Icon/line/basic-shape-diamond.svg +1 -0
- package/src/components/Icon/line/basic-shape-hexagon.svg +1 -0
- package/src/components/Icon/line/basic-shape-primary-circle-ellipse-round.svg +1 -0
- package/src/components/Icon/line/basic-shape-primary-square-rectangle.svg +1 -0
- package/src/components/Icon/line/basic-shape-shield.svg +1 -0
- package/src/components/Icon/line/computer-device-desktop-monitor.svg +1 -0
- package/src/components/Icon/line/computer-device-desktop.svg +1 -0
- package/src/components/Icon/line/computer-device-laptop.svg +1 -0
- package/src/components/Icon/line/computer-device-mobile-phone-android-samsung-back.svg +1 -0
- package/src/components/Icon/line/computer-device-mobile-phone-android-samsung.svg +1 -0
- package/src/components/Icon/line/computer-device-mobile-phone-iphone-x-back.svg +1 -0
- package/src/components/Icon/line/computer-device-mobile-phone-iphone-x.svg +1 -0
- package/src/components/Icon/line/computer-device-mobile-tablet-touch.svg +1 -0
- package/src/components/Icon/line/computer-device-mobile-tablet.svg +1 -0
- package/src/components/Icon/line/computer-device-network-ethernet-cat6.svg +1 -0
- package/src/components/Icon/line/computer-device-network-lan-www.svg +1 -0
- package/src/components/Icon/line/computer-device-network-wifi-connection.svg +1 -0
- package/src/components/Icon/line/computer-device-network-wifi-router.svg +1 -0
- package/src/components/Icon/line/computer-keyboard-alt.svg +1 -0
- package/src/components/Icon/line/computer-keyboard-command-cmd-control-ctrl.svg +1 -0
- package/src/components/Icon/line/computer-keyboard-option.svg +1 -0
- package/src/components/Icon/line/computer-keyboard-shift.svg +1 -0
- package/src/components/Icon/line/ecology-science-erlenmeyer-flask.svg +1 -0
- package/src/components/Icon/line/entertainment-control-button-circle-left-arrow-rewind.svg +1 -0
- package/src/components/Icon/line/entertainment-control-button-circle-pause.svg +1 -0
- package/src/components/Icon/line/entertainment-control-button-circle-right-arrow-fast-forward.svg +1 -0
- package/src/components/Icon/line/entertainment-control-button-circle-stop-square.svg +1 -0
- package/src/components/Icon/line/entertainment-control-button-play-circle.svg +1 -0
- package/src/components/Icon/line/entertainment-party-popper-confetti.svg +1 -0
- package/src/components/Icon/line/image-flash-lightning.svg +1 -0
- package/src/components/Icon/line/image-photo-frame.svg +1 -0
- package/src/components/Icon/line/image-picture-flower.svg +1 -0
- package/src/components/Icon/line/interface-add.svg +1 -0
- package/src/components/Icon/line/interface-alert-error-exclamation-block-square.svg +1 -0
- package/src/components/Icon/line/interface-alert-error-x-block-square.svg +1 -0
- package/src/components/Icon/line/interface-alert-exclamation-diamond.svg +1 -0
- package/src/components/Icon/line/interface-alert-exclamation-triangle-warning.svg +1 -0
- package/src/components/Icon/line/interface-alert-information-circle.svg +1 -0
- package/src/components/Icon/line/interface-award-crown.svg +1 -0
- package/src/components/Icon/line/interface-bookmark-tag.svg +1 -0
- package/src/components/Icon/line/interface-bookmark.svg +1 -0
- package/src/components/Icon/line/interface-calendar-date-one.svg +1 -0
- package/src/components/Icon/line/interface-close.svg +1 -0
- package/src/components/Icon/line/interface-content-book-open-pages.svg +1 -0
- package/src/components/Icon/line/interface-content-book-page.svg +1 -0
- package/src/components/Icon/line/interface-content-file.svg +8 -0
- package/src/components/Icon/line/interface-content-folder.svg +1 -0
- package/src/components/Icon/line/interface-copy-clipboard.svg +1 -0
- package/src/components/Icon/line/interface-delete-bin-trash.svg +1 -0
- package/src/components/Icon/line/interface-dots-horizontal.svg +1 -0
- package/src/components/Icon/line/interface-dots-vertical.svg +1 -0
- package/src/components/Icon/line/interface-edit-attachment.svg +1 -0
- package/src/components/Icon/line/interface-edit-binocular.svg +1 -0
- package/src/components/Icon/line/interface-edit-magic-wand.svg +1 -0
- package/src/components/Icon/line/interface-edit-tool-eraser.svg +1 -0
- package/src/components/Icon/line/interface-edit-tool-paint-brush.svg +1 -0
- package/src/components/Icon/line/interface-edit-tool-paint-roller.svg +1 -0
- package/src/components/Icon/line/interface-edit-tool-pen.svg +1 -0
- package/src/components/Icon/line/interface-edit-tool-pencil.svg +1 -0
- package/src/components/Icon/line/interface-edit-view-eye.svg +1 -0
- package/src/components/Icon/line/interface-favorite-award.svg +1 -0
- package/src/components/Icon/line/interface-favorite-flag.svg +1 -0
- package/src/components/Icon/line/interface-favorite-heart.svg +1 -0
- package/src/components/Icon/line/interface-favorite-star.svg +1 -0
- package/src/components/Icon/line/interface-favorite-stars-shining.svg +1 -0
- package/src/components/Icon/line/interface-favorite-stars-sparkles.svg +1 -0
- package/src/components/Icon/line/interface-hierarchy-flowchart.svg +1 -0
- package/src/components/Icon/line/interface-home-house.svg +1 -0
- package/src/components/Icon/line/interface-hyperlink.svg +1 -0
- package/src/components/Icon/line/interface-lighting-brightness.svg +1 -0
- package/src/components/Icon/line/interface-lock-closed.svg +1 -0
- package/src/components/Icon/line/interface-lock-open-unlock.svg +1 -0
- package/src/components/Icon/line/interface-login-key.svg +1 -0
- package/src/components/Icon/line/interface-search.svg +1 -0
- package/src/components/Icon/line/interface-setting-cog.svg +1 -0
- package/src/components/Icon/line/interface-share-megaphone-bullhorn.svg +1 -0
- package/src/components/Icon/line/interface-share-rocket.svg +1 -0
- package/src/components/Icon/line/interface-share-satellite.svg +1 -0
- package/src/components/Icon/line/interface-share-space-ship.svg +1 -0
- package/src/components/Icon/line/interface-share.svg +1 -0
- package/src/components/Icon/line/interface-signal-square.svg +1 -0
- package/src/components/Icon/line/interface-text-formatting-left-open-quote.svg +1 -0
- package/src/components/Icon/line/interface-text-formatting-right-close-quote.svg +1 -0
- package/src/components/Icon/line/interface-time-clock-circle.svg +1 -0
- package/src/components/Icon/line/interface-time-hour-glass.svg +1 -0
- package/src/components/Icon/line/interface-users-multiple.svg +1 -0
- package/src/components/Icon/line/interface-validation-checkbox-square.svg +1 -0
- package/src/components/Icon/line/interface-weather-moon.svg +1 -0
- package/src/components/Icon/line/legal-justice-hammer-gavel.svg +1 -0
- package/src/components/Icon/line/mail-chat-bubble-square.svg +1 -0
- package/src/components/Icon/line/mail-send-email-paper-airplane.svg +1 -0
- package/src/components/Icon/line/mail-send-envelope.svg +1 -0
- package/src/components/Icon/line/mail-sign-hashtag.svg +1 -0
- package/src/components/Icon/line/money-cashier-receipt.svg +1 -0
- package/src/components/Icon/line/money-currency-dollar-pay.svg +1 -0
- package/src/components/Icon/line/money-graph-arrow-increase.svg +1 -0
- package/src/components/Icon/line/money-graph-bar-chart-increase.svg +1 -0
- package/src/components/Icon/line/nature-ecology-leaf.svg +1 -0
- package/src/components/Icon/line/phone-telephone.svg +1 -0
- package/src/components/Icon/line/programming-bug.svg +1 -0
- package/src/components/Icon/line/programming-cloud.svg +1 -0
- package/src/components/Icon/line/programming-computer-database-server.svg +1 -0
- package/src/components/Icon/line/programming-computer-database.svg +1 -0
- package/src/components/Icon/line/programming-module-four-layout.svg +1 -0
- package/src/components/Icon/line/programming-module-three.svg +1 -0
- package/src/components/Icon/line/programming-module.svg +1 -0
- package/src/components/Icon/line/programming-script-code.svg +1 -0
- package/src/components/Icon/line/shopping-cart.svg +8 -0
- package/src/components/Icon/line/shopping-gift-present.svg +1 -0
- package/src/components/Icon/line/shopping-shipping-box-parcel-package.svg +1 -0
- package/src/components/Icon/line/tag-new-circle.svg +1 -0
- package/src/components/Icon/line/travel-map-earth-globe.svg +1 -0
- package/src/components/Icon/localIcons.ts +68 -0
- package/src/components/Icon/solid/arrow-chevron-down.svg +1 -0
- package/src/components/Icon/solid/arrow-chevron-left.svg +1 -0
- package/src/components/Icon/solid/arrow-chevron-right.svg +1 -0
- package/src/components/Icon/solid/arrow-chevron-up.svg +1 -0
- package/src/components/Icon/solid/arrow-down.svg +1 -0
- package/src/components/Icon/solid/arrow-left.svg +1 -0
- package/src/components/Icon/solid/arrow-right.svg +1 -0
- package/src/components/Icon/solid/arrow-up.svg +1 -0
- package/src/components/Icon/solid/basic-shape-diamond.svg +1 -0
- package/src/components/Icon/solid/basic-shape-hexagon.svg +1 -0
- package/src/components/Icon/solid/basic-shape-primary-circle-ellipse-round.svg +1 -0
- package/src/components/Icon/solid/basic-shape-primary-square-rectangle.svg +1 -0
- package/src/components/Icon/solid/basic-shape-shield.svg +1 -0
- package/src/components/Icon/solid/computer-device-desktop-monitor.svg +1 -0
- package/src/components/Icon/solid/computer-device-desktop.svg +1 -0
- package/src/components/Icon/solid/computer-device-laptop.svg +1 -0
- package/src/components/Icon/solid/computer-device-mobile-phone-android-samsung-back.svg +1 -0
- package/src/components/Icon/solid/computer-device-mobile-phone-android-samsung.svg +1 -0
- package/src/components/Icon/solid/computer-device-mobile-phone-iphone-x-back.svg +1 -0
- package/src/components/Icon/solid/computer-device-mobile-phone-iphone-x.svg +1 -0
- package/src/components/Icon/solid/computer-device-mobile-tablet-touch.svg +1 -0
- package/src/components/Icon/solid/computer-device-mobile-tablet.svg +1 -0
- package/src/components/Icon/solid/computer-device-network-ethernet-cat6.svg +1 -0
- package/src/components/Icon/solid/computer-device-network-lan-www.svg +1 -0
- package/src/components/Icon/solid/computer-device-network-wifi-connection.svg +5 -0
- package/src/components/Icon/solid/computer-device-network-wifi-router.svg +1 -0
- package/src/components/Icon/solid/computer-keyboard-alt.svg +1 -0
- package/src/components/Icon/solid/computer-keyboard-command-cmd-control-ctrl.svg +1 -0
- package/src/components/Icon/solid/computer-keyboard-option.svg +1 -0
- package/src/components/Icon/solid/computer-keyboard-shift.svg +1 -0
- package/src/components/Icon/solid/ecology-science-erlenmeyer-flask.svg +1 -0
- package/src/components/Icon/solid/entertainment-control-button-circle-left-arrow-rewind.svg +1 -0
- package/src/components/Icon/solid/entertainment-control-button-circle-pause.svg +1 -0
- package/src/components/Icon/solid/entertainment-control-button-circle-play.svg +5 -0
- package/src/components/Icon/solid/entertainment-control-button-circle-right-arrow-fast-forward.svg +1 -0
- package/src/components/Icon/solid/entertainment-control-button-circle-stop-square.svg +1 -0
- package/src/components/Icon/solid/entertainment-party-popper-confetti.svg +1 -0
- package/src/components/Icon/solid/image-flash-lightning.svg +5 -0
- package/src/components/Icon/solid/image-photo-frame.svg +11 -0
- package/src/components/Icon/solid/image-picture-flower.svg +5 -0
- package/src/components/Icon/solid/interface-add-square.svg +5 -0
- package/src/components/Icon/solid/interface-alert-error-exclamation-block-square.svg +1 -0
- package/src/components/Icon/solid/interface-alert-error-x-block-square.svg +1 -0
- package/src/components/Icon/solid/interface-alert-exclamation-diamond.svg +1 -0
- package/src/components/Icon/solid/interface-alert-exclamation-triangle-warning.svg +1 -0
- package/src/components/Icon/solid/interface-alert-information-circle.svg +5 -0
- package/src/components/Icon/solid/interface-award-crown.svg +5 -0
- package/src/components/Icon/solid/interface-bookmark-tag.svg +1 -0
- package/src/components/Icon/solid/interface-bookmark.svg +5 -0
- package/src/components/Icon/solid/interface-calendar-date-one.svg +5 -0
- package/src/components/Icon/solid/interface-close.svg +8 -0
- package/src/components/Icon/solid/interface-content-book-open-pages.svg +13 -0
- package/src/components/Icon/solid/interface-content-book-page.svg +5 -0
- package/src/components/Icon/solid/interface-content-file.svg +5 -0
- package/src/components/Icon/solid/interface-content-folder.svg +1 -0
- package/src/components/Icon/solid/interface-copy-clipboard.svg +5 -0
- package/src/components/Icon/solid/interface-delete-bin-trash.svg +1 -0
- package/src/components/Icon/solid/interface-dots-horizontal.svg +1 -0
- package/src/components/Icon/solid/interface-dots-vertical.svg +1 -0
- package/src/components/Icon/solid/interface-edit-attachment.svg +5 -0
- package/src/components/Icon/solid/interface-edit-binocular.svg +5 -0
- package/src/components/Icon/solid/interface-edit-magic-wand.svg +7 -0
- package/src/components/Icon/solid/interface-edit-tool-eraser.svg +1 -0
- package/src/components/Icon/solid/interface-edit-tool-paint-brush.svg +1 -0
- package/src/components/Icon/solid/interface-edit-tool-paint-roller.svg +5 -0
- package/src/components/Icon/solid/interface-edit-tool-pen.svg +5 -0
- package/src/components/Icon/solid/interface-edit-tool-pencil.svg +1 -0
- package/src/components/Icon/solid/interface-edit-view-eye.svg +7 -0
- package/src/components/Icon/solid/interface-favorite-award.svg +5 -0
- package/src/components/Icon/solid/interface-favorite-flag.svg +1 -0
- package/src/components/Icon/solid/interface-favorite-heart.svg +5 -0
- package/src/components/Icon/solid/interface-favorite-star.svg +5 -0
- package/src/components/Icon/solid/interface-favorite-stars-shining.svg +1 -0
- package/src/components/Icon/solid/interface-favorite-stars-sparkles.svg +1 -0
- package/src/components/Icon/solid/interface-hierarchy-flowchart.svg +5 -0
- package/src/components/Icon/solid/interface-home-house.svg +5 -0
- package/src/components/Icon/solid/interface-hyperlink.svg +5 -0
- package/src/components/Icon/solid/interface-lighting-brightness.svg +22 -0
- package/src/components/Icon/solid/interface-lock-closed.svg +5 -0
- package/src/components/Icon/solid/interface-lock-open-unlock.svg +1 -0
- package/src/components/Icon/solid/interface-login-key.svg +5 -0
- package/src/components/Icon/solid/interface-search.svg +5 -0
- package/src/components/Icon/solid/interface-setting-cog.svg +5 -0
- package/src/components/Icon/solid/interface-share-megaphone-bullhorn.svg +5 -0
- package/src/components/Icon/solid/interface-share-rocket.svg +1 -0
- package/src/components/Icon/solid/interface-share-satellite.svg +8 -0
- package/src/components/Icon/solid/interface-share-space-ship.svg +1 -0
- package/src/components/Icon/solid/interface-share.svg +5 -0
- package/src/components/Icon/solid/interface-signal-square.svg +5 -0
- package/src/components/Icon/solid/interface-text-formatting-left-open-quote.svg +1 -0
- package/src/components/Icon/solid/interface-text-formatting-right-close-quote.svg +1 -0
- package/src/components/Icon/solid/interface-time-clock-circle.svg +5 -0
- package/src/components/Icon/solid/interface-time-hour-glass.svg +1 -0
- package/src/components/Icon/solid/interface-users-multiple.svg +11 -0
- package/src/components/Icon/solid/interface-validation-checkbox-square.svg +5 -0
- package/src/components/Icon/solid/interface-weather-moon.svg +5 -0
- package/src/components/Icon/solid/legal-justice-hammer-gavel.svg +1 -0
- package/src/components/Icon/solid/mail-chat-bubble-square.svg +5 -0
- package/src/components/Icon/solid/mail-send-email-paper-airplane.svg +5 -0
- package/src/components/Icon/solid/mail-send-envelope.svg +1 -0
- package/src/components/Icon/solid/mail-sign-hashtag.svg +5 -0
- package/src/components/Icon/solid/money-cashier-receipt.svg +1 -0
- package/src/components/Icon/solid/money-currency-dollar-pay.svg +5 -0
- package/src/components/Icon/solid/money-graph-arrow-increase.svg +5 -0
- package/src/components/Icon/solid/money-graph-bar-chart-increase.svg +1 -0
- package/src/components/Icon/solid/nature-ecology-leaf.svg +5 -0
- package/src/components/Icon/solid/phone-telephone.svg +5 -0
- package/src/components/Icon/solid/programming-bug.svg +5 -0
- package/src/components/Icon/solid/programming-cloud.svg +4 -0
- package/src/components/Icon/solid/programming-computer-database-server.svg +5 -0
- package/src/components/Icon/solid/programming-computer-database.svg +5 -0
- package/src/components/Icon/solid/programming-module-four-layout.svg +1 -0
- package/src/components/Icon/solid/programming-module-three.svg +1 -0
- package/src/components/Icon/solid/programming-module.svg +1 -0
- package/src/components/Icon/solid/programming-script-code.svg +5 -0
- package/src/components/Icon/solid/shopping-cart.svg +1 -0
- package/src/components/Icon/solid/shopping-gift-present.svg +16 -0
- package/src/components/Icon/solid/shopping-shipping-box-parcel-package.svg +11 -0
- package/src/components/Icon/solid/tag-new-circle.svg +7 -0
- package/src/components/Icon/solid/travel-map-earth-globe.svg +5 -0
- package/src/components/SearchModal.vue +305 -0
- package/src/components/Sidebar.vue +289 -0
- package/src/components/SidebarElement.vue +133 -0
- package/src/components/SidebarGroup.vue +12 -0
- package/src/components/SimpleTable/SimpleCell.vue +46 -0
- package/src/components/SimpleTable/SimpleHeader.vue +17 -0
- package/src/components/SimpleTable/SimpleRow.vue +5 -0
- package/src/components/SimpleTable/SimpleTable.vue +13 -0
- package/src/components/SimpleTable/index.ts +4 -0
- package/src/declarations/typographic-base.d.ts +1 -0
- package/src/helpers/generateAxiosCodeFromRequest.ts +42 -0
- package/src/helpers/generateLaravelCodeFromRequest.ts +20 -0
- package/src/helpers/index.ts +4 -0
- package/src/helpers/objectMerge.ts +19 -0
- package/src/helpers/specHelpers.ts +62 -0
- package/src/helpers/transformToJson.test.ts +7 -0
- package/src/helpers/transformToJson.ts +22 -0
- package/src/hooks/useRefOnMount.ts +12 -0
- package/src/index.ts +11 -0
- package/src/standalone.ts +28 -0
- package/src/stores/template.ts +66 -0
- package/src/stores/utility.ts +23 -0
- package/src/types.ts +154 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import yaml from 'js-yaml'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This helper is used to transform the content of the swagger file to JSON, even it was YAML.
|
|
5
|
+
*/
|
|
6
|
+
export const transformToJson = (value: string) => {
|
|
7
|
+
try {
|
|
8
|
+
// JSON
|
|
9
|
+
JSON.parse(value)
|
|
10
|
+
|
|
11
|
+
return value
|
|
12
|
+
} catch {
|
|
13
|
+
try {
|
|
14
|
+
// Yaml to JSON
|
|
15
|
+
const doc = yaml.load(value)
|
|
16
|
+
return JSON.stringify(doc)
|
|
17
|
+
} catch {
|
|
18
|
+
// Invalid
|
|
19
|
+
return value
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Ref, onMounted, ref } from 'vue'
|
|
2
|
+
|
|
3
|
+
// Set a ref value on mount when needed to access properties that are not SSR friendly
|
|
4
|
+
export function useRefOnMount<T>(setter: () => T) {
|
|
5
|
+
const value: Ref<T | null> = ref(null)
|
|
6
|
+
|
|
7
|
+
onMounted(() => {
|
|
8
|
+
value.value = setter()
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
return value
|
|
12
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import '../../theme/scrollbar.css'
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
default as ApiClientModal,
|
|
5
|
+
useApiClientStore,
|
|
6
|
+
} from './components/ApiClientModal.vue'
|
|
7
|
+
export { default as ApiReference } from './components/ApiReference.vue'
|
|
8
|
+
export { default as Sidebar } from './components/Sidebar.vue'
|
|
9
|
+
export { default as RenderedReference } from './components/Content/Content.vue'
|
|
10
|
+
|
|
11
|
+
export * from './types'
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { createApp } from 'vue'
|
|
2
|
+
|
|
3
|
+
import '../../theme/scrollbar.css'
|
|
4
|
+
import ApiReference from './components/ApiReference.vue'
|
|
5
|
+
|
|
6
|
+
const specElement = document.querySelector('[data-spec]')
|
|
7
|
+
const specUrlElement = document.querySelector('[data-spec-url]')
|
|
8
|
+
|
|
9
|
+
if (!specUrlElement && !specElement) {
|
|
10
|
+
console.error(
|
|
11
|
+
'Couldn’t find a [data-spec] or [data-spec-url] element. Try adding it like this: %c<div data-spec-url="https://petstore.swagger.io/v2/swagger.json" />',
|
|
12
|
+
'font-family: monospace;',
|
|
13
|
+
)
|
|
14
|
+
} else {
|
|
15
|
+
const properties = specElement
|
|
16
|
+
? {
|
|
17
|
+
spec: specElement.getAttribute('data-spec'),
|
|
18
|
+
}
|
|
19
|
+
: {
|
|
20
|
+
specUrl: specUrlElement?.getAttribute('data-spec-url') ?? '',
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
document.querySelector('body')?.classList.add('light-mode')
|
|
24
|
+
|
|
25
|
+
const container = specElement ? '[data-spec]' : '[data-spec-url]'
|
|
26
|
+
|
|
27
|
+
createApp(ApiReference, properties).mount(container)
|
|
28
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TODO: This is a copy of projects/web/src/stores/template.ts
|
|
3
|
+
*/
|
|
4
|
+
import { type TargetId, availableTargets } from 'httpsnippet-lite'
|
|
5
|
+
import { reactive, readonly } from 'vue'
|
|
6
|
+
|
|
7
|
+
import { objectMerge } from '../helpers/objectMerge'
|
|
8
|
+
import { setItemFactory, toggleItemFactory } from './utility'
|
|
9
|
+
|
|
10
|
+
export enum NavState {
|
|
11
|
+
Guide = 'Guide',
|
|
12
|
+
Reference = 'Reference',
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
type TemplateState = {
|
|
16
|
+
isDark: boolean
|
|
17
|
+
showSideBar: boolean
|
|
18
|
+
showSearch: boolean
|
|
19
|
+
activeNavState: NavState
|
|
20
|
+
collapsedSidebarItems: Partial<Record<string, boolean>>
|
|
21
|
+
preferredLanguage: TargetId | 'axios' | 'laravel'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const defaultTemplateState = (): TemplateState => ({
|
|
25
|
+
isDark: false,
|
|
26
|
+
showSearch: false,
|
|
27
|
+
showSideBar: true,
|
|
28
|
+
activeNavState: NavState.Guide,
|
|
29
|
+
collapsedSidebarItems: {},
|
|
30
|
+
preferredLanguage: 'shell',
|
|
31
|
+
})
|
|
32
|
+
|
|
33
|
+
const state = reactive<TemplateState>(defaultTemplateState())
|
|
34
|
+
|
|
35
|
+
function resetState() {
|
|
36
|
+
objectMerge(state, defaultTemplateState())
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function toggleCollapsedSidebarItem(key: string) {
|
|
40
|
+
state.collapsedSidebarItems[key] = !state.collapsedSidebarItems[key] ?? true
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function setCollapsedSidebarItem(key: string, value: boolean) {
|
|
44
|
+
state.collapsedSidebarItems[key] = value
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// getLanguageTitleByKey('javascript') => 'JavaScript'
|
|
48
|
+
function getLanguageTitleByKey(language: TargetId | 'axios' | 'laravel') {
|
|
49
|
+
if (language === 'axios') {
|
|
50
|
+
return 'JavaScript (Axios)'
|
|
51
|
+
} else if (language === 'laravel') {
|
|
52
|
+
return 'PHP (Laravel)'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return availableTargets().find((target) => language === target.key)?.title
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export const useTemplateStore = () => ({
|
|
59
|
+
state: readonly(state),
|
|
60
|
+
resetState,
|
|
61
|
+
setItem: setItemFactory(state),
|
|
62
|
+
toggleItem: toggleItemFactory(state),
|
|
63
|
+
toggleCollapsedSidebarItem,
|
|
64
|
+
setCollapsedSidebarItem,
|
|
65
|
+
getLanguageTitleByKey,
|
|
66
|
+
})
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TODO: This is a copy of projects/web/src/stores/utility.ts
|
|
3
|
+
*/
|
|
4
|
+
export type KeyOfType<T, V> = keyof {
|
|
5
|
+
[P in keyof T as T[P] extends V ? P : never]: any
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/** Generic set item for a given store state */
|
|
9
|
+
export function setItemFactory<State extends object>(state: State) {
|
|
10
|
+
return function setItem<K extends keyof State>(key: K, value: State[K]) {
|
|
11
|
+
state[key] = value
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export function toggleItemFactory<State extends object>(state: State) {
|
|
16
|
+
return function toggleItem(key: KeyOfType<State, boolean>) {
|
|
17
|
+
if (typeof state[key] === 'boolean') {
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
state[key] = !state[key]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
package/src/types.ts
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
export type ReferenceProps = {
|
|
2
|
+
documentName?: string
|
|
3
|
+
token?: string
|
|
4
|
+
username?: string
|
|
5
|
+
hocusPocusUrl?: string
|
|
6
|
+
isEditable?: boolean
|
|
7
|
+
showSidebar?: boolean
|
|
8
|
+
footerBelowSidebar?: boolean
|
|
9
|
+
spec?: string
|
|
10
|
+
specUrl?: string
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type Security = {
|
|
14
|
+
api_key?: any[]
|
|
15
|
+
petstore_auth?: string[]
|
|
16
|
+
}
|
|
17
|
+
export type Schema = {
|
|
18
|
+
format: string
|
|
19
|
+
type: string
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export type Parameters = {
|
|
23
|
+
description?: string
|
|
24
|
+
in?: string
|
|
25
|
+
name: string
|
|
26
|
+
required?: boolean
|
|
27
|
+
schema?: Schema
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type Response = {
|
|
31
|
+
description: string
|
|
32
|
+
content: any
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type Information = {
|
|
36
|
+
description: string
|
|
37
|
+
operationId: string
|
|
38
|
+
parameters: Parameters[]
|
|
39
|
+
responses: Record<string, Response>
|
|
40
|
+
security: Security[]
|
|
41
|
+
requestBody: RequestBody
|
|
42
|
+
summary: string
|
|
43
|
+
tags: string[]
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export type Operation = {
|
|
47
|
+
httpVerb: string
|
|
48
|
+
path: string
|
|
49
|
+
operationId: string
|
|
50
|
+
name: string
|
|
51
|
+
description: string
|
|
52
|
+
information: Information
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type TransformedOperation = Operation & {
|
|
56
|
+
responses: Record<
|
|
57
|
+
string,
|
|
58
|
+
Response & {
|
|
59
|
+
headers: Record<
|
|
60
|
+
string,
|
|
61
|
+
{
|
|
62
|
+
description: string
|
|
63
|
+
schema: {
|
|
64
|
+
type: string
|
|
65
|
+
format?: string
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
>
|
|
69
|
+
}
|
|
70
|
+
>
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export type Tag = {
|
|
74
|
+
name: string
|
|
75
|
+
description: string
|
|
76
|
+
operations: TransformedOperation[]
|
|
77
|
+
}
|
|
78
|
+
export type Parameter = {
|
|
79
|
+
name: string
|
|
80
|
+
required: boolean
|
|
81
|
+
displayType: string
|
|
82
|
+
description: string
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type ContentProperties = {
|
|
86
|
+
[key: string]: {
|
|
87
|
+
type: string
|
|
88
|
+
format: string
|
|
89
|
+
example: string
|
|
90
|
+
required: string[]
|
|
91
|
+
description?: string
|
|
92
|
+
properties?: ContentProperties
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export type ContentSchema = {
|
|
97
|
+
schema: {
|
|
98
|
+
type: string
|
|
99
|
+
required: string[]
|
|
100
|
+
properties: ContentProperties
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export type ContentType =
|
|
105
|
+
| 'application/json'
|
|
106
|
+
| 'application/xml'
|
|
107
|
+
| 'text/plain'
|
|
108
|
+
| 'text/html'
|
|
109
|
+
| 'application/x-www-form-urlencoded'
|
|
110
|
+
| 'multipart/form-data'
|
|
111
|
+
|
|
112
|
+
export type Content = {
|
|
113
|
+
[key in ContentType]: ContentSchema
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type RequestBody = {
|
|
117
|
+
description: string
|
|
118
|
+
content: Content
|
|
119
|
+
required: boolean
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export type Contact = {
|
|
123
|
+
email: string
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export type License = {
|
|
127
|
+
name: string
|
|
128
|
+
url: string
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export type Info = {
|
|
132
|
+
title: string
|
|
133
|
+
description: string
|
|
134
|
+
termsOfService: string
|
|
135
|
+
contact: Contact
|
|
136
|
+
license: License
|
|
137
|
+
version: string
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export type ExternalDocs = {
|
|
141
|
+
description: string
|
|
142
|
+
url: string
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export type Server = {
|
|
146
|
+
url: string
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export type Spec = {
|
|
150
|
+
tags: Tag[]
|
|
151
|
+
info: Info
|
|
152
|
+
externalDocs: ExternalDocs
|
|
153
|
+
servers: Server[]
|
|
154
|
+
}
|