redoc 3.0.0-rc.0 → 3.0.0-rc.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.
Files changed (539) hide show
  1. package/README.md +87 -44
  2. package/bundles/redoc.d.ts +1860 -0
  3. package/bundles/redoc.js +13775 -0
  4. package/bundles/redoc.standalone.d.ts +1574 -0
  5. package/bundles/redoc.standalone.js +13836 -0
  6. package/package.json +79 -88
  7. package/typings/.tsbuildinfo +1 -0
  8. package/typings/RedocStandalone.d.ts +36 -0
  9. package/typings/RedoclyApiDocs.d.ts +23 -0
  10. package/typings/RedoclyApiDocsStandalone.d.ts +22 -0
  11. package/typings/adapters/asyncapi/build/context.d.ts +9 -0
  12. package/typings/adapters/asyncapi/build/navigation.d.ts +2 -0
  13. package/typings/adapters/asyncapi/build/utils.d.ts +3 -0
  14. package/typings/adapters/asyncapi/buildContext.d.ts +2 -0
  15. package/typings/adapters/asyncapi/index.d.ts +13 -0
  16. package/typings/adapters/asyncapi/items/channel/content.d.ts +5 -0
  17. package/typings/adapters/asyncapi/items/channel/item.d.ts +13 -0
  18. package/typings/adapters/asyncapi/items/operation/content.d.ts +4 -0
  19. package/typings/adapters/asyncapi/items/operation/item.d.ts +15 -0
  20. package/typings/adapters/asyncapi/items/overview/content.d.ts +10 -0
  21. package/typings/adapters/asyncapi/items/overview/item.d.ts +16 -0
  22. package/typings/adapters/asyncapi/panels/brokers.d.ts +4 -0
  23. package/typings/adapters/asyncapi/panels/download.d.ts +3 -0
  24. package/typings/adapters/asyncapi/panels/group.d.ts +16 -0
  25. package/typings/adapters/asyncapi/panels/overview.d.ts +3 -0
  26. package/typings/adapters/asyncapi/store.d.ts +3 -0
  27. package/typings/adapters/asyncapi/utils/avro-to-json-schema.d.ts +4 -0
  28. package/typings/adapters/asyncapi/utils/get-channel-label.d.ts +3 -0
  29. package/typings/adapters/asyncapi/utils/get-protocol-labels.d.ts +24 -0
  30. package/typings/adapters/asyncapi/utils/get-server-host.d.ts +3 -0
  31. package/typings/adapters/asyncapi/utils/resolve-schema.d.ts +2 -0
  32. package/typings/adapters/asyncapi/utils/resolveInDoc.d.ts +2 -0
  33. package/typings/adapters/build.d.ts +31 -0
  34. package/typings/adapters/graphql/build/context.d.ts +9 -0
  35. package/typings/adapters/graphql/buildContext.d.ts +2 -0
  36. package/typings/adapters/graphql/buildStoreFromSdl.d.ts +2 -0
  37. package/typings/adapters/graphql/group/custom.d.ts +2 -0
  38. package/typings/adapters/graphql/group/default.d.ts +2 -0
  39. package/typings/adapters/graphql/group/errors.d.ts +1 -0
  40. package/typings/adapters/graphql/group/itemBuilders.d.ts +5 -0
  41. package/typings/adapters/graphql/group/utils.d.ts +8 -0
  42. package/typings/adapters/graphql/index.d.ts +10 -0
  43. package/typings/adapters/graphql/items/directive/content.d.ts +4 -0
  44. package/typings/adapters/graphql/items/directive/item.d.ts +3 -0
  45. package/typings/adapters/graphql/items/enum/content.d.ts +4 -0
  46. package/typings/adapters/graphql/items/enum/item.d.ts +3 -0
  47. package/typings/adapters/graphql/items/input/content.d.ts +4 -0
  48. package/typings/adapters/graphql/items/input/item.d.ts +3 -0
  49. package/typings/adapters/graphql/items/interface/content.d.ts +4 -0
  50. package/typings/adapters/graphql/items/interface/item.d.ts +3 -0
  51. package/typings/adapters/graphql/items/mutation/content.d.ts +4 -0
  52. package/typings/adapters/graphql/items/mutation/item.d.ts +3 -0
  53. package/typings/adapters/graphql/items/object/content.d.ts +4 -0
  54. package/typings/adapters/graphql/items/object/item.d.ts +3 -0
  55. package/typings/adapters/graphql/items/operation/content.d.ts +7 -0
  56. package/typings/adapters/graphql/items/overview/content.d.ts +11 -0
  57. package/typings/adapters/graphql/items/overview/item.d.ts +4 -0
  58. package/typings/adapters/graphql/items/query/content.d.ts +4 -0
  59. package/typings/adapters/graphql/items/query/item.d.ts +3 -0
  60. package/typings/adapters/graphql/items/scalar/content.d.ts +4 -0
  61. package/typings/adapters/graphql/items/scalar/item.d.ts +3 -0
  62. package/typings/adapters/graphql/items/subscription/content.d.ts +4 -0
  63. package/typings/adapters/graphql/items/subscription/item.d.ts +3 -0
  64. package/typings/adapters/graphql/items/types.d.ts +7 -0
  65. package/typings/adapters/graphql/items/union/content.d.ts +4 -0
  66. package/typings/adapters/graphql/items/union/item.d.ts +3 -0
  67. package/typings/adapters/graphql/panels/download.d.ts +3 -0
  68. package/typings/adapters/graphql/panels/group-items.d.ts +4 -0
  69. package/typings/adapters/graphql/panels/overview.d.ts +3 -0
  70. package/typings/adapters/graphql/serializeType.d.ts +5 -0
  71. package/typings/adapters/graphql/store.d.ts +3 -0
  72. package/typings/adapters/graphql/utils/configMetadataRows.d.ts +3 -0
  73. package/typings/adapters/graphql/utils/constants.d.ts +23 -0
  74. package/typings/adapters/graphql/utils/createApiItem.d.ts +15 -0
  75. package/typings/adapters/graphql/utils/getBadges.d.ts +4 -0
  76. package/typings/adapters/graphql/utils/ignoreInternalItems.d.ts +3 -0
  77. package/typings/adapters/graphql/utils/isRootType.d.ts +2 -0
  78. package/typings/adapters/graphql/utils/menuSlashRegex.d.ts +1 -0
  79. package/typings/adapters/graphql/utils/normalizeMenu.d.ts +3 -0
  80. package/typings/adapters/graphql/utils/shouldIncludeItem.d.ts +2 -0
  81. package/typings/adapters/graphql/utils/summary.d.ts +4 -0
  82. package/typings/adapters/graphql/utils/validateMenuConfig.d.ts +3 -0
  83. package/typings/adapters/helpers.d.ts +40 -0
  84. package/typings/adapters/openapi/build/context.d.ts +13 -0
  85. package/typings/adapters/openapi/build-code-sample-source.d.ts +4 -0
  86. package/typings/adapters/openapi/buildContext.d.ts +2 -0
  87. package/typings/adapters/openapi/configure/apply-request-values.d.ts +3 -0
  88. package/typings/adapters/openapi/configure/index.d.ts +3 -0
  89. package/typings/adapters/openapi/configure/merge-utils.d.ts +30 -0
  90. package/typings/adapters/openapi/configure/resolve-request-values.d.ts +15 -0
  91. package/typings/adapters/openapi/constants.d.ts +4 -0
  92. package/typings/adapters/openapi/group/content.d.ts +25 -0
  93. package/typings/adapters/openapi/group/item.d.ts +8 -0
  94. package/typings/adapters/openapi/index.d.ts +13 -0
  95. package/typings/adapters/openapi/items/mcp/content.d.ts +5 -0
  96. package/typings/adapters/openapi/items/mcp/item.d.ts +9 -0
  97. package/typings/adapters/openapi/items/operation/content.d.ts +12 -0
  98. package/typings/adapters/openapi/items/operation/item.d.ts +9 -0
  99. package/typings/adapters/openapi/items/overview/content.d.ts +17 -0
  100. package/typings/adapters/openapi/items/overview/item.d.ts +3 -0
  101. package/typings/adapters/openapi/items/schema/content.d.ts +3 -0
  102. package/typings/adapters/openapi/items/schema/item.d.ts +9 -0
  103. package/typings/adapters/openapi/panels/download.d.ts +3 -0
  104. package/typings/adapters/openapi/panels/mcp.d.ts +3 -0
  105. package/typings/adapters/openapi/panels/overview.d.ts +3 -0
  106. package/typings/adapters/openapi/panels/servers.d.ts +3 -0
  107. package/typings/adapters/openapi/resolve-openapi-example-value.d.ts +3 -0
  108. package/typings/adapters/openapi/store.d.ts +4 -0
  109. package/typings/adapters/openapi/utils/JsonPointer.d.ts +51 -0
  110. package/typings/adapters/openapi/utils/applyIgnoreNamedSchemasDeep.d.ts +1 -0
  111. package/typings/adapters/openapi/utils/helpers.d.ts +14 -0
  112. package/typings/adapters/openapi/utils/merge-mock-server.d.ts +8 -0
  113. package/typings/adapters/openapi/utils/operation.d.ts +23 -0
  114. package/typings/adapters/openapi/utils/resolvePathItemRef.d.ts +2 -0
  115. package/typings/adapters/openapi/utils/url.d.ts +2 -0
  116. package/typings/adapters/rbac.d.ts +10 -0
  117. package/typings/adapters/scopedContext.d.ts +5 -0
  118. package/typings/adapters/utils/convertSwagger2OpenAPI.d.ts +2 -0
  119. package/typings/adapters/utils/dompurify.d.ts +5 -0
  120. package/typings/adapters/utils/isPlainText.d.ts +6 -0
  121. package/typings/adapters/utils/markdoc.d.ts +55 -0
  122. package/typings/adapters/utils/parseMarkdown.d.ts +8 -0
  123. package/typings/adapters/utils/seo.d.ts +3 -0
  124. package/typings/adapters/utils/simplifyAstStructure.d.ts +2 -0
  125. package/typings/components/AdmonitionItem.d.ts +6 -0
  126. package/typings/components/ChannelAddressItem.d.ts +7 -0
  127. package/typings/components/ContainerItem.d.ts +9 -0
  128. package/typings/components/EmptyMessageItem.d.ts +6 -0
  129. package/typings/components/ErrorBoundary.d.ts +20 -0
  130. package/typings/components/ExtensionsItem.d.ts +7 -0
  131. package/typings/components/ExternalDocsItem.d.ts +8 -0
  132. package/typings/components/Header/HeaderItem.d.ts +10 -0
  133. package/typings/components/Header/HeaderPageActions.d.ts +4 -0
  134. package/typings/components/Header/HeaderResponseCodeTabs.d.ts +8 -0
  135. package/typings/components/Header/PageActions.d.ts +4 -0
  136. package/typings/components/Header/ResponseDeepLinkAnchor.d.ts +9 -0
  137. package/typings/components/Header/hooks.d.ts +5 -0
  138. package/typings/components/InfoMetadataItem.d.ts +7 -0
  139. package/typings/components/ItemContent/ItemContentRenderer.d.ts +8 -0
  140. package/typings/components/ItemContent/SectionHeader.d.ts +8 -0
  141. package/typings/components/ItemContent/hooks.d.ts +16 -0
  142. package/typings/components/ItemContent/sections/BodyMimeTypeField.d.ts +12 -0
  143. package/typings/components/ItemContent/sections/BodySection.d.ts +7 -0
  144. package/typings/components/ItemContent/sections/CallbacksSection.d.ts +5 -0
  145. package/typings/components/ItemContent/sections/FieldsSection.d.ts +7 -0
  146. package/typings/components/ItemContent/sections/MessagesSection.d.ts +5 -0
  147. package/typings/components/ItemContent/sections/ParametersSection.d.ts +6 -0
  148. package/typings/components/ItemContent/sections/ResponsesSection.d.ts +5 -0
  149. package/typings/components/ItemContent/sections/ValuesSection.d.ts +5 -0
  150. package/typings/components/Mapper.d.ts +25 -0
  151. package/typings/components/MarkdownItem.d.ts +6 -0
  152. package/typings/components/Mcp/McpPrompt.d.ts +8 -0
  153. package/typings/components/Mcp/McpResource.d.ts +8 -0
  154. package/typings/components/Mcp/McpTool.d.ts +8 -0
  155. package/typings/components/Mcp/styled.d.ts +22 -0
  156. package/typings/components/Mcp/utils.d.ts +7 -0
  157. package/typings/components/MessageLinksItem.d.ts +7 -0
  158. package/typings/components/PrePaintColorModeScript.d.ts +12 -0
  159. package/typings/components/Schema/SchemaDescription.d.ts +5 -0
  160. package/typings/components/Schema/SchemaView.d.ts +20 -0
  161. package/typings/components/Schema/helpers.d.ts +1 -0
  162. package/typings/components/Schema/hooks/useSchemaDocument.d.ts +7 -0
  163. package/typings/components/Schema/hooks/useSchemaFieldDeepLink.d.ts +5 -0
  164. package/typings/components/Schema/hooks/useVariantIndexFromHash.d.ts +1 -0
  165. package/typings/components/Schema/styled.d.ts +235 -0
  166. package/typings/components/Schema/utils.d.ts +26 -0
  167. package/typings/components/Schema/views/ArrayRenderer.d.ts +13 -0
  168. package/typings/components/Schema/views/CollapsibleNestedFields.d.ts +25 -0
  169. package/typings/components/Schema/views/DefaultMappingOptionLabel.d.ts +5 -0
  170. package/typings/components/Schema/views/DiscriminatorPropertyRow.d.ts +13 -0
  171. package/typings/components/Schema/views/Examples.d.ts +7 -0
  172. package/typings/components/Schema/views/ExpandableExample.d.ts +4 -0
  173. package/typings/components/Schema/views/ObjectRenderer.d.ts +14 -0
  174. package/typings/components/Schema/views/Pattern.d.ts +6 -0
  175. package/typings/components/Schema/views/PrimitiveRenderer.d.ts +5 -0
  176. package/typings/components/Schema/views/PropertyFieldRow.d.ts +16 -0
  177. package/typings/components/Schema/views/PropertyRenderer.d.ts +15 -0
  178. package/typings/components/Schema/views/SchemaEnumDescriptions.d.ts +9 -0
  179. package/typings/components/Schema/views/SchemaEnumValues.d.ts +8 -0
  180. package/typings/components/Schema/views/SchemaTitleLabel.d.ts +5 -0
  181. package/typings/components/Schema/views/SchemaVariantSelector.d.ts +11 -0
  182. package/typings/components/Schema/views/SwitcherRenderer.d.ts +14 -0
  183. package/typings/components/Schema/views/VariantDropdown.d.ts +14 -0
  184. package/typings/components/Search/Search.d.ts +10 -0
  185. package/typings/components/Search/SearchDialog.d.ts +7 -0
  186. package/typings/components/Search/SearchTrigger.d.ts +9 -0
  187. package/typings/components/Search/index.d.ts +3 -0
  188. package/typings/components/Security/Divider.d.ts +4 -0
  189. package/typings/components/Security/RequiredScopes.d.ts +4 -0
  190. package/typings/components/Security/ScopeTagWithTooltip.d.ts +11 -0
  191. package/typings/components/Security/SecurityButtonPanel.d.ts +5 -0
  192. package/typings/components/Security/SecurityFlowDetail.d.ts +5 -0
  193. package/typings/components/Security/SecurityModal.d.ts +6 -0
  194. package/typings/components/Security/SecuritySection.d.ts +3 -0
  195. package/typings/components/Security/styled.d.ts +127 -0
  196. package/typings/components/Security/types.d.ts +3 -0
  197. package/typings/components/SideMenu/SideMenu.d.ts +7 -0
  198. package/typings/components/SideMenu/buildMenuItems.d.ts +29 -0
  199. package/typings/components/SideMenu/useMenuItems.d.ts +14 -0
  200. package/typings/components/StickySidebar/FloatingButton.d.ts +1 -0
  201. package/typings/components/StickySidebar/RedoclyAttributionLogo.d.ts +5 -0
  202. package/typings/components/StickySidebar/SidebarActions.d.ts +2 -0
  203. package/typings/components/StickySidebar/StickySidebar.d.ts +7 -0
  204. package/typings/components/common/Badge.d.ts +32 -0
  205. package/typings/components/common/Breadcrumbs.d.ts +11 -0
  206. package/typings/components/common/ContentWrapper.d.ts +24 -0
  207. package/typings/components/common/DeepLinkAnchor.d.ts +20 -0
  208. package/typings/components/common/ExpandAllButton.d.ts +6 -0
  209. package/typings/components/common/ExternalDocumentation.d.ts +10 -0
  210. package/typings/components/common/LazyMount.d.ts +9 -0
  211. package/typings/components/common/LazySection.d.ts +14 -0
  212. package/typings/components/common/Markdown.d.ts +7 -0
  213. package/typings/components/common/MoreDetailsButton.d.ts +5 -0
  214. package/typings/components/common/NestedToggleButton.d.ts +10 -0
  215. package/typings/components/common/PanelItem.d.ts +65 -0
  216. package/typings/components/common/ResponseCodeTabs.d.ts +9 -0
  217. package/typings/components/common/Tag.d.ts +3 -0
  218. package/typings/components/common/VendorExtensions.d.ts +7 -0
  219. package/typings/components/common/ViewNested.d.ts +16 -0
  220. package/typings/components/graphql/ArrowIcon.d.ts +7 -0
  221. package/typings/components/graphql/GraphQLArgumentsSection.d.ts +10 -0
  222. package/typings/components/graphql/GraphQLEnumEmbedded.d.ts +5 -0
  223. package/typings/components/graphql/GraphQLFieldView.d.ts +12 -0
  224. package/typings/components/graphql/GraphQLFieldsEmbedded.d.ts +9 -0
  225. package/typings/components/graphql/GraphQLGroupTypeList.d.ts +5 -0
  226. package/typings/components/graphql/GraphQLHeaderExtras.d.ts +7 -0
  227. package/typings/components/graphql/GraphQLReturnTypeDetails.d.ts +11 -0
  228. package/typings/components/graphql/GraphQLTypeView.d.ts +9 -0
  229. package/typings/components/graphql/GraphQLUnionEmbedded.d.ts +5 -0
  230. package/typings/components/graphql/RequiresScopesButton.d.ts +9 -0
  231. package/typings/components/graphql/RequiresScopesModal.d.ts +9 -0
  232. package/typings/components/graphql/ViewNested.d.ts +14 -0
  233. package/typings/components/graphql/renderDescription.d.ts +2 -0
  234. package/typings/components/graphql/sections/GraphQLArgsSection.d.ts +5 -0
  235. package/typings/components/graphql/sections/GraphQLFieldsSection.d.ts +5 -0
  236. package/typings/components/graphql/sections/ImplementedBySection.d.ts +5 -0
  237. package/typings/components/graphql/sections/ImplementsSection.d.ts +5 -0
  238. package/typings/components/graphql/sections/PossibleTypesSection.d.ts +5 -0
  239. package/typings/components/graphql/sections/RequiresScopesSection.d.ts +5 -0
  240. package/typings/components/graphql/sections/ReturnTypeSection.d.ts +5 -0
  241. package/typings/components/graphql/styled.d.ts +62 -0
  242. package/typings/components/markdoc/Heading.d.ts +11 -0
  243. package/typings/components/markdoc/SchemaDefinition.d.ts +11 -0
  244. package/typings/components/markdoc/apiDocsMarkdocComponents.d.ts +6 -0
  245. package/typings/components/markdoc/buildMarkdocOptions.d.ts +9 -0
  246. package/typings/components/markdoc/defaultMarkdocConfig.d.ts +14 -0
  247. package/typings/components/markdoc/html/html-jsx-attribute-mapping.d.ts +5 -0
  248. package/typings/components/markdoc/html/process-html-tokens.d.ts +1 -0
  249. package/typings/components/markdoc/markdocAdapter.d.ts +11 -0
  250. package/typings/components/markdoc/markdocParser.d.ts +8 -0
  251. package/typings/components/markdoc/markdocRenderer.d.ts +8 -0
  252. package/typings/components/markdoc/tags/mcp-tag-schemas.d.ts +2 -0
  253. package/typings/components/markdoc/tags/schema-definition-tag.d.ts +2 -0
  254. package/typings/components/panels/ConnectMcpButton.d.ts +5 -0
  255. package/typings/components/panels/DownloadPanelItem.d.ts +5 -0
  256. package/typings/components/panels/ExampleItem/CallbackPayloadItem.d.ts +5 -0
  257. package/typings/components/panels/ExampleItem/CodeSampleItem.d.ts +5 -0
  258. package/typings/components/panels/ExampleItem/ExamplesPanelItem.d.ts +3 -0
  259. package/typings/components/panels/ExampleItem/GraphQLQueryItem.d.ts +5 -0
  260. package/typings/components/panels/ExampleItem/GraphQLResponseItem.d.ts +5 -0
  261. package/typings/components/panels/ExampleItem/GraphQLTypeSampleItem.d.ts +5 -0
  262. package/typings/components/panels/ExampleItem/GraphQLVariablesItem.d.ts +5 -0
  263. package/typings/components/panels/ExampleItem/PayloadExampleItem.d.ts +5 -0
  264. package/typings/components/panels/ExampleItem/ResponseExampleItem.d.ts +5 -0
  265. package/typings/components/panels/ExampleItem/ServerDropdown.d.ts +17 -0
  266. package/typings/components/panels/ExampleItem/hooks.d.ts +25 -0
  267. package/typings/components/panels/ExampleItem/selectors.d.ts +39 -0
  268. package/typings/components/panels/ExampleItem/styled.d.ts +101 -0
  269. package/typings/components/panels/ExampleItem/types.d.ts +9 -0
  270. package/typings/components/panels/ExampleItem/useActiveServer.d.ts +17 -0
  271. package/typings/components/panels/ExampleItem/useCodeSampleLanguages.d.ts +23 -0
  272. package/typings/components/panels/GroupPanelItem.d.ts +5 -0
  273. package/typings/components/panels/LanguageItem/LanguageDropdown.d.ts +15 -0
  274. package/typings/components/panels/LanguageItem/LanguageItem.d.ts +11 -0
  275. package/typings/components/panels/LanguageItem/LanguageListSkeleton.d.ts +4 -0
  276. package/typings/components/panels/LanguageItem/constants.d.ts +2 -0
  277. package/typings/components/panels/LanguageItem/styled.d.ts +71 -0
  278. package/typings/components/panels/LocationsPanelItem.d.ts +5 -0
  279. package/typings/components/panels/McpExamplePanelItem.d.ts +5 -0
  280. package/typings/components/panels/McpPanelItem.d.ts +3 -0
  281. package/typings/components/panels/OverviewPanelItem.d.ts +3 -0
  282. package/typings/components/panels/PanelMapper.d.ts +5 -0
  283. package/typings/components/panels/PanelNodeProps.d.ts +4 -0
  284. package/typings/components/panels/ReferencesPanelItem.d.ts +5 -0
  285. package/typings/components/panels/ServerItem/ServerDescriptionTooltip.d.ts +4 -0
  286. package/typings/components/panels/ServerItem/ServerItem.d.ts +5 -0
  287. package/typings/components/panels/ServerItem/ServerPanelItem.d.ts +5 -0
  288. package/typings/components/panels/asyncapi/BrokerItem/BrokerBindingsSection.d.ts +7 -0
  289. package/typings/components/panels/asyncapi/BrokerItem/BrokerModal.d.ts +8 -0
  290. package/typings/components/panels/asyncapi/BrokerItem/BrokerOverviewSection.d.ts +6 -0
  291. package/typings/components/panels/asyncapi/BrokerItem/BrokerPanel.styled.d.ts +21 -0
  292. package/typings/components/panels/asyncapi/BrokerItem/BrokerPanelItem.d.ts +5 -0
  293. package/typings/components/panels/asyncapi/ChannelBindingItem/ChannelBindingItem.d.ts +5 -0
  294. package/typings/components/panels/asyncapi/MessageBindingItem/MessageBindingItem.d.ts +5 -0
  295. package/typings/components/panels/asyncapi/MessageReferencesItem/MessageReferencesItem.d.ts +5 -0
  296. package/typings/components/panels/asyncapi/OperationBindingItem/OperationBindingItem.d.ts +5 -0
  297. package/typings/components/panels/asyncapi/common/bindingPanel.d.ts +30 -0
  298. package/typings/components/panels/shared-panel-styles.d.ts +16 -0
  299. package/typings/components/panels/styled.d.ts +18 -0
  300. package/typings/constants/openapi.d.ts +30 -0
  301. package/typings/constants/rendering.d.ts +8 -0
  302. package/typings/contexts/markdownAdapter.d.ts +21 -0
  303. package/typings/contexts/telemetry.d.ts +4 -0
  304. package/typings/crypto-compat.d.ts +5 -0
  305. package/typings/crypto-uuid-compat.d.ts +1 -0
  306. package/typings/empty-linkedom.d.ts +1 -0
  307. package/typings/empty.d.ts +7 -0
  308. package/typings/events/codeSampleCopy.d.ts +2 -0
  309. package/typings/events/creator.d.ts +2 -0
  310. package/typings/events/index.d.ts +6 -0
  311. package/typings/events/languageSwitch.d.ts +2 -0
  312. package/typings/events/panelToggle.d.ts +2 -0
  313. package/typings/events/serverSwitch.d.ts +2 -0
  314. package/typings/events/types.d.ts +7 -0
  315. package/typings/hoc/withItemId.d.ts +6 -0
  316. package/typings/hoc/withRouter.d.ts +4 -0
  317. package/typings/hoc/withStoreProvider.d.ts +24 -0
  318. package/typings/hooks/deepLinkHash.d.ts +7 -0
  319. package/typings/hooks/useAgentTools.d.ts +6 -0
  320. package/typings/hooks/useApiDocsRoutes.d.ts +8 -0
  321. package/typings/hooks/useApiDocsScroll.d.ts +9 -0
  322. package/typings/hooks/useBodyScrollLock.d.ts +1 -0
  323. package/typings/hooks/useCodeHighlight.d.ts +28 -0
  324. package/typings/hooks/useCopyCodeTelemetry.d.ts +14 -0
  325. package/typings/hooks/useCopySpecSlice.d.ts +9 -0
  326. package/typings/hooks/useDeepLinkSection.d.ts +23 -0
  327. package/typings/hooks/useExpandableSection.d.ts +4 -0
  328. package/typings/hooks/useHashLinkRedirect.d.ts +4 -0
  329. package/typings/hooks/useInitialTelemetry.d.ts +3 -0
  330. package/typings/hooks/useIsExpanded.d.ts +1 -0
  331. package/typings/hooks/useIsHydrated.d.ts +4 -0
  332. package/typings/hooks/useManualScrollAnchor.d.ts +19 -0
  333. package/typings/hooks/useModalDismiss.d.ts +2 -0
  334. package/typings/hooks/useNormalizeUrl.d.ts +2 -0
  335. package/typings/hooks/usePageTelemetry.d.ts +3 -0
  336. package/typings/hooks/usePageViewTelemetry.d.ts +2 -0
  337. package/typings/hooks/usePerformanceMetricsTelemetry.d.ts +5 -0
  338. package/typings/hooks/useRouterHashBridge.d.ts +25 -0
  339. package/typings/hooks/useScrollSpyUrlSync.d.ts +3 -0
  340. package/typings/hooks/useSearchEngine.d.ts +7 -0
  341. package/typings/hooks/useSessionSummaryTelemetry.d.ts +7 -0
  342. package/typings/hooks/useTelemetry.d.ts +2 -0
  343. package/typings/hooks/useTranslate.d.ts +5 -0
  344. package/typings/hooks/useUrlHash.d.ts +8 -0
  345. package/typings/hooks/useUrlHashReassert.d.ts +2 -0
  346. package/typings/hooks/useUserScrollIntent.d.ts +18 -0
  347. package/typings/hooks/useVisitedChannelsTracker.d.ts +6 -0
  348. package/typings/icons/CSharpIcon/CSharpIcon.d.ts +4 -0
  349. package/typings/icons/CSharpIcon/index.d.ts +1 -0
  350. package/typings/icons/CurlIcon/CurlIcon.d.ts +6 -0
  351. package/typings/icons/CurlIcon/index.d.ts +1 -0
  352. package/typings/icons/DefaultMappingIcon/DefaultMappingIcon.d.ts +6 -0
  353. package/typings/icons/DefaultMappingIcon/index.d.ts +1 -0
  354. package/typings/icons/GOIcon/GOIcon.d.ts +4 -0
  355. package/typings/icons/GOIcon/index.d.ts +1 -0
  356. package/typings/icons/JavaIcon/JavaIcon.d.ts +4 -0
  357. package/typings/icons/JavaIcon/index.d.ts +1 -0
  358. package/typings/icons/JavaScriptIcon/JavaScriptIcon.d.ts +4 -0
  359. package/typings/icons/JavaScriptIcon/index.d.ts +1 -0
  360. package/typings/icons/ListIcon/ListIcon.d.ts +10 -0
  361. package/typings/icons/NodeJSIcon/NodeJSIcon.d.ts +4 -0
  362. package/typings/icons/NodeJSIcon/index.d.ts +1 -0
  363. package/typings/icons/PHPIcon/PHPIcon.d.ts +4 -0
  364. package/typings/icons/PHPIcon/index.d.ts +1 -0
  365. package/typings/icons/PayloadIcon/PayloadIcon.d.ts +4 -0
  366. package/typings/icons/PayloadIcon/index.d.ts +1 -0
  367. package/typings/icons/PlusCircleIcon/PlusCircleIcon.d.ts +7 -0
  368. package/typings/icons/PythonIcon/PythonIcon.d.ts +4 -0
  369. package/typings/icons/PythonIcon/index.d.ts +1 -0
  370. package/typings/icons/RIcon/RIcon.d.ts +4 -0
  371. package/typings/icons/RIcon/index.d.ts +1 -0
  372. package/typings/icons/RubyIcon/RubyIcon.d.ts +4 -0
  373. package/typings/icons/RubyIcon/index.d.ts +1 -0
  374. package/typings/index.d.ts +9 -0
  375. package/typings/jotai/app.d.ts +75 -0
  376. package/typings/jotai/examples.d.ts +5 -0
  377. package/typings/jotai/graphql.d.ts +10 -0
  378. package/typings/jotai/itemStore.d.ts +51 -0
  379. package/typings/jotai/routes.d.ts +4 -0
  380. package/typings/jotai/schema.d.ts +3 -0
  381. package/typings/jotai/store.d.ts +22 -0
  382. package/typings/jotai/telemetry.d.ts +46 -0
  383. package/typings/options/constants.d.ts +10 -0
  384. package/typings/options/editionOverrides.d.ts +3 -0
  385. package/typings/options/helpers.d.ts +25 -0
  386. package/typings/options/normalizeOptions.d.ts +2 -0
  387. package/typings/options/standaloneLayoutVars.d.ts +3 -0
  388. package/typings/otel-semantic-conventions.d.ts +10 -0
  389. package/typings/pages/EntryPage.d.ts +25 -0
  390. package/typings/pages/GroupPage.d.ts +1 -0
  391. package/typings/pages/ItemPage.d.ts +1 -0
  392. package/typings/pages/NotFoundPage.d.ts +6 -0
  393. package/typings/pages/OverviewPage.d.ts +1 -0
  394. package/typings/pages/TopLevelEntryView.d.ts +17 -0
  395. package/typings/services/agent-tools/index.d.ts +11 -0
  396. package/typings/services/agent-tools/operations.d.ts +20 -0
  397. package/typings/services/agent-tools/results.d.ts +6 -0
  398. package/typings/services/agent-tools/security.d.ts +13 -0
  399. package/typings/services/agent-tools/spec-slice-detail.d.ts +12 -0
  400. package/typings/services/agent-tools/types.d.ts +54 -0
  401. package/typings/services/agent-tools/webmcp.d.ts +14 -0
  402. package/typings/services/code-samples/apply-env-variables.d.ts +8 -0
  403. package/typings/services/code-samples/convertSampleToString.d.ts +3 -0
  404. package/typings/services/code-samples/discriminator.d.ts +66 -0
  405. package/typings/services/code-samples/example-key.d.ts +25 -0
  406. package/typings/services/code-samples/index.d.ts +2 -0
  407. package/typings/services/code-samples/language-availability.d.ts +4 -0
  408. package/typings/services/code-samples/normalize-servers.d.ts +3 -0
  409. package/typings/services/code-samples/server-env.d.ts +3 -0
  410. package/typings/services/code-samples/server-variables.d.ts +11 -0
  411. package/typings/services/code-samples/source.d.ts +104 -0
  412. package/typings/services/schema/dialects/graphqlSchema.d.ts +1 -0
  413. package/typings/services/schema/dialects/jsonSchema.d.ts +7 -0
  414. package/typings/services/schema/index.d.ts +1 -0
  415. package/typings/services/schema/propertyBuilder.d.ts +32 -0
  416. package/typings/services/schema/propertyTreeBuilder.d.ts +21 -0
  417. package/typings/services/schema/schemaProcessor.d.ts +2 -0
  418. package/typings/services/schema/variant-label.d.ts +6 -0
  419. package/typings/services/search/engine/collapse.d.ts +5 -0
  420. package/typings/services/search/engine/constants.d.ts +22 -0
  421. package/typings/services/search/engine/flexsearch.d.ts +6 -0
  422. package/typings/services/search/engine/index.d.ts +11 -0
  423. package/typings/services/search/engine/lowered.d.ts +34 -0
  424. package/typings/services/search/engine/match.d.ts +12 -0
  425. package/typings/services/search/engine/present.d.ts +5 -0
  426. package/typings/services/search/engine/query.d.ts +6 -0
  427. package/typings/services/search/engine/score.d.ts +7 -0
  428. package/typings/services/search/engine/text.d.ts +3 -0
  429. package/typings/services/search/engine/types.d.ts +19 -0
  430. package/typings/services/search/highlight.d.ts +3 -0
  431. package/typings/services/search/index.d.ts +4 -0
  432. package/typings/services/search/indexer/context.d.ts +8 -0
  433. package/typings/services/search/indexer/deep-links.d.ts +12 -0
  434. package/typings/services/search/indexer/extractors/asyncapi.d.ts +8 -0
  435. package/typings/services/search/indexer/extractors/body.d.ts +2 -0
  436. package/typings/services/search/indexer/extractors/callbacks.d.ts +4 -0
  437. package/typings/services/search/indexer/extractors/context.d.ts +25 -0
  438. package/typings/services/search/indexer/extractors/examples.d.ts +3 -0
  439. package/typings/services/search/indexer/extractors/graphql.d.ts +2 -0
  440. package/typings/services/search/indexer/extractors/heading-sections.d.ts +3 -0
  441. package/typings/services/search/indexer/extractors/index.d.ts +12 -0
  442. package/typings/services/search/indexer/extractors/mcp.d.ts +9 -0
  443. package/typings/services/search/indexer/extractors/named-rows.d.ts +9 -0
  444. package/typings/services/search/indexer/extractors/panels.d.ts +10 -0
  445. package/typings/services/search/indexer/extractors/parameters.d.ts +2 -0
  446. package/typings/services/search/indexer/extractors/responses.d.ts +2 -0
  447. package/typings/services/search/indexer/extractors/schema-page.d.ts +9 -0
  448. package/typings/services/search/indexer/extractors/security.d.ts +4 -0
  449. package/typings/services/search/indexer/index.d.ts +14 -0
  450. package/typings/services/search/indexer/param.d.ts +7 -0
  451. package/typings/services/search/indexer/places.d.ts +42 -0
  452. package/typings/services/search/indexer/schema-walker.d.ts +29 -0
  453. package/typings/services/search/indexer/text.d.ts +2 -0
  454. package/typings/services/search/init.d.ts +7 -0
  455. package/typings/services/search/text-match.d.ts +5 -0
  456. package/typings/services/search/types.d.ts +32 -0
  457. package/typings/services/spec-slice/assistant-links.d.ts +9 -0
  458. package/typings/services/spec-slice/asyncapi-slice.d.ts +5 -0
  459. package/typings/services/spec-slice/clone-strip.d.ts +1 -0
  460. package/typings/services/spec-slice/component-closure.d.ts +6 -0
  461. package/typings/services/spec-slice/graphql-slice.d.ts +2 -0
  462. package/typings/services/spec-slice/index.d.ts +6 -0
  463. package/typings/services/spec-slice/openapi-slice.d.ts +6 -0
  464. package/typings/services/spec-slice/resolve-scope.d.ts +4 -0
  465. package/typings/services/spec-slice/types.d.ts +37 -0
  466. package/typings/standalone.d.ts +20 -0
  467. package/typings/standaloneThemeConfig.d.ts +3 -0
  468. package/typings/telemetry/RedocTelemetry.d.ts +22 -0
  469. package/typings/telemetry/TypeOfUsageContext.d.ts +3 -0
  470. package/typings/telemetry/defaults.d.ts +7 -0
  471. package/typings/telemetry/events.d.ts +42 -0
  472. package/typings/telemetry/fields.d.ts +7 -0
  473. package/typings/telemetry/index.d.ts +15 -0
  474. package/typings/telemetry/initialPayload.d.ts +56 -0
  475. package/typings/telemetry/page.d.ts +5 -0
  476. package/typings/telemetry/reportDefinitionLoadFailed.d.ts +9 -0
  477. package/typings/telemetry/sanitizeError.d.ts +4 -0
  478. package/typings/telemetry/security.d.ts +15 -0
  479. package/typings/telemetry/useRedocTelemetryInstance.d.ts +3 -0
  480. package/typings/telemetry/useSchemaFieldTelemetry.d.ts +4 -0
  481. package/typings/telemetry/useSidebarItemTelemetry.d.ts +11 -0
  482. package/typings/types/asyncapi.d.ts +348 -0
  483. package/typings/types/code-samples-config.d.ts +12 -0
  484. package/typings/types/common.d.ts +162 -0
  485. package/typings/types/content.d.ts +503 -0
  486. package/typings/types/edition-config.d.ts +6 -0
  487. package/typings/types/events.d.ts +64 -0
  488. package/typings/types/graphql-store.d.ts +60 -0
  489. package/typings/types/graphql.d.ts +54 -0
  490. package/typings/types/index.d.ts +10 -0
  491. package/typings/types/openapi.d.ts +556 -0
  492. package/typings/types/options.d.ts +132 -0
  493. package/typings/types/pluggable.d.ts +4 -0
  494. package/typings/types/schema.d.ts +156 -0
  495. package/typings/types/store.d.ts +176 -0
  496. package/typings/url-compat.d.ts +22 -0
  497. package/typings/utils/calculateMaxLength.d.ts +6 -0
  498. package/typings/utils/compose.d.ts +8 -0
  499. package/typings/utils/cookies.d.ts +7 -0
  500. package/typings/utils/deep-link.d.ts +171 -0
  501. package/typings/utils/definitionLoadError.d.ts +7 -0
  502. package/typings/utils/environments.d.ts +6 -0
  503. package/typings/utils/expansion.d.ts +3 -0
  504. package/typings/utils/extract-extensions.d.ts +4 -0
  505. package/typings/utils/form-urlencoded.d.ts +6 -0
  506. package/typings/utils/graphql-directive-utils.d.ts +6 -0
  507. package/typings/utils/graphql-parse.d.ts +1 -0
  508. package/typings/utils/graphql-reference-map.d.ts +3 -0
  509. package/typings/utils/graphql-samples.d.ts +25 -0
  510. package/typings/utils/graphql-scopes.d.ts +6 -0
  511. package/typings/utils/graphql-type-expansion.d.ts +5 -0
  512. package/typings/utils/http-methods.d.ts +8 -0
  513. package/typings/utils/is-record.d.ts +1 -0
  514. package/typings/utils/languages.d.ts +18 -0
  515. package/typings/utils/loadAndBundleSpec.d.ts +4 -0
  516. package/typings/utils/logo.d.ts +8 -0
  517. package/typings/utils/media-type.d.ts +7 -0
  518. package/typings/utils/multipart.d.ts +7 -0
  519. package/typings/utils/overview-partial-sections.d.ts +7 -0
  520. package/typings/utils/refPointer.d.ts +2 -0
  521. package/typings/utils/resolveText.d.ts +2 -0
  522. package/typings/utils/routeKind.d.ts +6 -0
  523. package/typings/utils/routing.d.ts +51 -0
  524. package/typings/utils/scroll-anchoring.d.ts +4 -0
  525. package/typings/utils/security-scope.d.ts +3 -0
  526. package/typings/utils/serialize-parameter.d.ts +8 -0
  527. package/typings/utils/serialize-querystring.d.ts +6 -0
  528. package/typings/utils/session-storage.d.ts +2 -0
  529. package/typings/utils/split-badges-by-position.d.ts +5 -0
  530. package/typings/utils/status-code.d.ts +1 -0
  531. package/typings/utils/string.d.ts +18 -0
  532. package/typings/utils/telemetry.d.ts +1 -0
  533. package/typings/utils/url.d.ts +9 -0
  534. package/typings/utils/x-logo.d.ts +13 -0
  535. package/typings/utils/xml.d.ts +1 -0
  536. package/typings/yaml-compat.d.ts +7 -0
  537. package/bundle/redoc.d.ts +0 -683
  538. package/bundle/redoc.js +0 -2224
  539. package/bundle/redoc.standalone.js +0 -2264
package/README.md CHANGED
@@ -1,17 +1,27 @@
1
1
  <div align="center">
2
- <img alt="Redoc logo" src="https://raw.githubusercontent.com/Redocly/redoc/main//docs/images/redoc.png" width="400px" />
3
2
 
4
- # Generate beautiful API documentation from OpenAPI
3
+ <a href="https://redocly.com/redoc-ce">
4
+ <picture>
5
+ <source media="(prefers-color-scheme: dark)" srcset="./images/redoc-3-announcement-dark.gif">
6
+ <source media="(prefers-color-scheme: light)" srcset="./images/redoc-3-announcement-light.gif">
7
+ <img alt="Redoc 3.0 — one renderer for OpenAPI 3.2, AsyncAPI, GraphQL, and MCP" src="./images/redoc-3-announcement-light.gif">
8
+ </picture>
9
+ </a>
10
+
11
+ **[Learn what's new in Redoc 3.x →](https://redocly.com/redoc-ce)**
12
+
13
+
14
+ # Generate beautiful API documentation from OpenAPI, AsyncAPI, and GraphQL
5
15
 
6
16
  [![npm](http://img.shields.io/npm/v/redoc.svg)](https://www.npmjs.com/package/redoc) [![License](https://img.shields.io/npm/l/redoc.svg)](https://github.com/Redocly/redoc/blob/main/LICENSE)
7
17
 
8
- [![bundle size](http://img.badgesize.io/https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js?compression=gzip&max=300000)](https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js) [![npm](https://img.shields.io/npm/dm/redoc.svg)](https://www.npmjs.com/package/redoc) [![jsDelivr status](https://data.jsdelivr.com/v1/package/npm/redoc/badge)](https://www.jsdelivr.com/package/npm/redoc)
18
+ [![npm](https://img.shields.io/npm/dm/redoc.svg)](https://www.npmjs.com/package/redoc) [![jsDelivr status](https://data.jsdelivr.com/v1/package/npm/redoc/badge)](https://www.jsdelivr.com/package/npm/redoc)
9
19
  </div>
10
20
 
11
21
 
12
22
  ## About Redoc
13
23
 
14
- Redoc is an open source tool for generating documentation from OpenAPI (formerly Swagger) definitions.
24
+ Redoc is an open source tool for generating documentation from OpenAPI (formerly Swagger), AsyncAPI, and GraphQL definitions.
15
25
 
16
26
  By default Redoc offers a three-panel, responsive layout:
17
27
 
@@ -19,24 +29,33 @@ By default Redoc offers a three-panel, responsive layout:
19
29
  - The central panel contains the documentation.
20
30
  - The right panel contains request and response examples.
21
31
 
22
- ![Redoc demo](https://raw.githubusercontent.com/Redocly/redoc/main/demo/redoc-demo.png)
32
+ <picture>
33
+ <source media="(prefers-color-scheme: dark)" srcset="./images/demo-dark.png">
34
+ <source media="(prefers-color-scheme: light)" srcset="./images/demo-light.png">
35
+ <img alt="Redoc demo" src="./images/demo-light.png">
36
+ </picture>
23
37
 
24
38
  ## Live demo
25
39
 
26
- If you want to see how Redoc renders your OpenAPI definition,
40
+ If you want to see how Redoc renders your API definition,
27
41
  you can try it out online at https://redocly.github.io/redoc/.
28
42
 
29
- A version of the Redocly Museum API is displayed by default.
30
- To test it with your own OpenAPI definition,
43
+ A version of the Redocly Cafe API is displayed by default.
44
+ To test it with your own API definition,
31
45
  enter the URL for your definition and select **TRY IT**.
32
46
 
33
47
  ## Redoc features
34
48
 
35
49
  - Responsive three-panel design with menu/scrolling synchronization
36
- - Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0
50
+ - Support for OpenAPI 3.2, OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0
51
+ - Support for AsyncAPI 3.x and GraphQL (SDL) — the format is detected from the document
52
+ - MCP (Model Context Protocol) server documentation with the [`x-mcp`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-mcp) specification extension
53
+ - Improved built-in search
54
+ - **Copy**, **Open in ChatGPT**, and **Open in Claude** actions on every page to work with the docs in your AI assistant
55
+ - Dark mode and theming with [CSS variables](https://redocly.com/docs/realm/branding/css-variables)
37
56
  - Ability to integrate your API introduction into the side menu
38
- - High-level grouping in side menu with the [`x-tagGroups`](https://redocly.com/docs/api-reference-docs/specification-extensions/x-tag-groups/) specification extension
39
- - [Simple integration with `create-react-app`](https://redocly.com/docs/redoc/quickstart/react/)
57
+ - High-level grouping in side menu with the [`x-tagGroups`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-tag-groups) specification extension
58
+ - [Simple integration with React](https://redocly.com/docs/redoc/v3.x/deployment/react)
40
59
  - Code samples support (with the `x-codeSamples` specification extension) <br>
41
60
  ![code samples in action](https://raw.githubusercontent.com/Redocly/redoc/main/demo/code-samples-demo.gif)
42
61
 
@@ -61,36 +80,44 @@ The tool outputs by default to a file named `redoc-static.html` that you can ope
61
80
  Create an HTML page, or edit an existing one, and add the following within the body tags:
62
81
 
63
82
  ```html
64
- <redoc spec-url="http://petstore.swagger.io/v2/swagger.json"></redoc>
65
- <script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"> </script>
83
+ <redoc spec-url="https://example.com/openapi.yaml"></redoc>
84
+ <script type="module" src="https://cdn.redoc.ly/redoc/v3.x/bundles/redoc.standalone.js"> </script>
66
85
  ```
67
86
 
68
87
  Open the HTML file in your browser, and your API documentation is shown on the page.
69
88
 
70
- Add your own `spec-url` to the `<redoc>` tag; this attribute can also be a local file. The JavaScript library can also be installed locally using `npm` and served from your own server, see the [HTML deployment documentation](https://redocly.com/docs/redoc/deployment/html/) for more details.
89
+ Add your own `spec-url` to the `<redoc>` tag; this attribute can also be a local file, an AsyncAPI definition, or a GraphQL schema. The JavaScript library can also be installed locally using `npm` and served from your own server, see the [HTML deployment documentation](https://redocly.com/docs/redoc/v3.x/deployment/html) for more details.
90
+
91
+ ### Use the React component
92
+
93
+ ```tsx
94
+ import { RedocStandalone } from 'redoc';
95
+
96
+ <RedocStandalone specUrl="https://example.com/openapi.yaml" />;
97
+ ```
71
98
 
72
99
  ### More usage options
73
100
 
74
- Check out the [deployment documentation](./docs/deployment/intro.md) for more options, and detailed documentation for each.
101
+ Check out the [deployment documentation](https://redocly.com/docs/redoc/v3.x/deployment/intro) for more options, and detailed documentation for each.
75
102
 
76
- ## Redoc CE vs. Redoc
103
+ ## Redoc vs. hosted Redoc
77
104
 
78
- Redoc CE is Redocly's community-edition product. Looking for something more?
105
+ Redoc is Redocly's community-edition product. Looking for something more?
79
106
  We also offer [Redoc](https://redocly.com/redoc)
80
- with support specifications like GraphQL/AsyncAPI/SOAP and additional features including:
107
+ with support for specifications like SOAP and additional features including:
81
108
 
82
- * Try-it panel(Replay)
109
+ * Try-it panel (Replay)
83
110
  * Automated code samples
84
111
  * Mock server
112
+ * Feedback widgets
113
+ * Role-based access control
85
114
  * Full customization
86
115
  * Lint
87
116
 
88
- For a detailed comparison of premium vs open source, see [Premium vs Open Source features](https://redocly.com/blog/premium-vs-open-source).
89
-
90
117
  ### Documentation and resources
91
118
 
92
119
  - [Realm + Reunite](https://redocly.com/docs/realm) - we take care of the hosting, which includes everything you need for documentation.
93
- - [Redoc](https://redocly.com/docs/redoc/) - detailed documentation for this open source project (also in the `docs/` folder)
120
+ - [Redoc](https://redocly.com/docs/redoc/v3.x) - detailed documentation for this open source project
94
121
  - [Command-line interface to bundle your docs into a web-ready HTML file](https://redocly.com/docs/cli/commands/build-docs/)
95
122
  - API linting, bundling, and much more with open source [Redocly CLI](https://redocly.com/docs/cli)
96
123
 
@@ -99,10 +126,9 @@ For a detailed comparison of premium vs open source, see [Premium vs Open Source
99
126
  A sample of the organizations using Redocly tools in the wild:
100
127
 
101
128
  - [Rebilly](https://api-reference.rebilly.com/)
102
- - [Docker Engine](https://docs.docker.com/engine/api/v1.25/)
103
- - [Zuora](https://www.zuora.com/developer/api-reference/)
104
- - [Discourse](http://docs.discourse.org)
105
- - [Commbox](https://www.commbox.io/api/)
129
+ - [Docker Engine](https://docs.docker.com/reference/api/engine/version/v1.56/)
130
+ - [Zuora](https://developer.zuora.com/v1-api-reference/api)
131
+ - [Discourse](https://docs.discourse.org)
106
132
  - [APIs.guru](https://apis.guru/api-doc/)
107
133
  - [BoxKnight](https://www.docs.boxknight.com/)
108
134
  - [Quaderno API](https://developers.quaderno.io/api)
@@ -111,24 +137,37 @@ _Pull requests to add your own API page to the list are welcome_
111
137
 
112
138
  ## Configuration
113
139
 
114
- Redoc is highly configurable, see the [configuration documentation](docs/config.md) for details.
140
+ Redoc is highly configurable, see the [configuration documentation](https://redocly.com/docs/redoc/v3.x/config) for details.
115
141
 
116
142
  ### OpenAPI specification extensions
117
- Redoc uses the following [specification extensions](https://redocly.com/docs/api-reference-docs/spec-extensions/):
118
-
119
- * [`x-logo`](docs/redoc-vendor-extensions.md#x-logo) - is used to specify API logo
120
- * [`x-traitTag`](docs/redoc-vendor-extensions.md#x-traitTag) - useful for tags that refer to non-navigation properties like Pagination, Rate-Limits, etc
121
- * [`x-codeSamples`](docs/redoc-vendor-extensions.md#x-codeSamples) - specify operation code samples
122
- * [`x-badges`](docs/redoc-vendor-extensions.md#x-badges) - specify operation badges
123
- * ['x-enumDescriptions'](docs/redoc-vendor-extensions.md#x-enumDescriptions) - list of the enum values and descriptions to include in the documentation
124
- * [`x-examples`](docs/redoc-vendor-extensions.md#x-examples) - specify JSON example for requests
125
- * [`x-nullable`](docs/redoc-vendor-extensions.md#x-nullable) - mark schema param as a nullable
126
- * [`x-displayName`](docs/redoc-vendor-extensions.md#x-displayname) - specify human-friendly names for the menu categories
127
- * [`x-tagGroups`](docs/redoc-vendor-extensions.md#x-tagGroups) - group tags by categories in the side menu
128
- * [`x-servers`](docs/redoc-vendor-extensions.md#x-servers) - ability to specify different servers for API (backported from OpenAPI 3.0)
129
- * [`x-additionalPropertiesName`](docs/redoc-vendor-extensions.md#x-additionalPropertiesName) - ability to supply a descriptive name for the additional property keys
130
- * [`x-summary`](docs/redoc-vendor-extensions.md#x-summary) - for Response object, use as the response button text, with description rendered under the button
131
- * [`x-explicitMappingOnly`](docs/redoc-vendor-extensions.md#x-explicitMappingOnly) - in Schemas, display a more descriptive property name in objects with additionalProperties when viewing the property list with an object
143
+ Redoc uses the following [specification extensions](https://redocly.com/docs/realm/content/api-docs/openapi-extensions):
144
+
145
+ * [`x-logo`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions) - is used to specify API logo
146
+ * [`x-traitTag`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-trait-tag) - useful for tags that refer to non-navigation properties like Pagination, Rate-Limits, etc
147
+ * [`x-codeSamples`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-code-samples) - specify operation code samples
148
+ * [`x-badges`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-badges) - specify operation badges
149
+ * [`x-enumDescriptions`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-enum-descriptions) - list of the enum values and descriptions to include in the documentation
150
+ * [`x-examples`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-examples) - specify JSON example for requests
151
+ * [`x-nullable`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-nullable) - mark schema param as a nullable
152
+ * [`x-displayName`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-display-name) - specify human-friendly names for the menu categories
153
+ * [`x-tagGroups`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-tag-groups) - group tags by categories in the side menu
154
+ * [`x-mcp`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-mcp) - document MCP (Model Context Protocol) servers, their tools and capabilities
155
+ * [`x-servers`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-servers) - ability to specify different servers for API (backported from OpenAPI 3.0)
156
+ * [`x-additionalPropertiesName`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-additional-properties-name) - ability to supply a descriptive name for the additional property keys
157
+ * [`x-summary`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions/x-summary) - for Response object, use as the response button text, with description rendered under the button
158
+ * [`x-explicitMappingOnly`](https://redocly.com/docs/realm/content/api-docs/openapi-extensions) - in Schemas, display a more descriptive property name in objects with additionalProperties when viewing the property list with an object
159
+
160
+ ## Examples
161
+
162
+ Runnable, copy-ready projects for common setups live in [`examples/`](examples/): plain HTML,
163
+ React, Next.js, Vue, Svelte, Angular, Express, NestJS, FastAPI, ASP.NET Core, Spring Boot,
164
+ Laravel, and framework-free Java, Go, Rust, PHP and Python. Each one is built and smoke-tested against the local build on every
165
+ pull request; see [`examples/README.md`](examples/README.md) for the contract and how to add one.
166
+
167
+ Two deliveries have nothing to copy and are documented rather than built:
168
+ [`examples/docker`](examples/docker) for the official `redocly/redoc` image and
169
+ [`examples/cli`](examples/cli) for `redocly build-docs`.
170
+
132
171
 
133
172
  ## Releases
134
173
 
@@ -138,8 +177,9 @@ Redoc uses the following [specification extensions](https://redocly.com/docs/api
138
177
 
139
178
  All the 2.x and 3.x releases are deployed to npm and can be used with Redocly-cdn:
140
179
  - particular release, for example:
141
- - `v2.0.0`: https://cdn.redoc.ly/redoc/v2.0.0/bundles/redoc.standalone.js
142
- - `v3.0.0`: https://cdn.redoc.ly/redoc/v3.0.0/bundles/redoc.standalone.js
180
+ - `v2.0.0`: https://cdn.redoc.ly/redoc/v2.0.0/bundles/redoc.standalone.js
181
+ - `v3.0.0`: https://cdn.redoc.ly/redoc/v3.0.0/bundles/redoc.standalone.js
182
+ - latest `3.x` release: https://cdn.redoc.ly/redoc/v3.x/bundles/redoc.standalone.js
143
183
  - `latest` release: https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js
144
184
 
145
185
  Additionally, all the 1.x releases are hosted on our GitHub Pages-based CDN **(deprecated)**:
@@ -147,6 +187,9 @@ Additionally, all the 1.x releases are hosted on our GitHub Pages-based CDN **(d
147
187
  - `v1.x.x` release: https://rebilly.github.io/ReDoc/releases/v1.x.x/redoc.min.js
148
188
  - `latest` release: https://rebilly.github.io/ReDoc/releases/latest/redoc.min.js - points to latest 1.x.x release since 2.x releases are not hosted on this CDN but on unpkg.
149
189
 
190
+ ## Telemetry
191
+
192
+ Redoc collects anonymous usage and performance data to help prioritize work. It never sends your API definition content or personal information. Opt out with `disable-telemetry="true"` on the `<redoc>` tag, `disableTelemetry: true` in options. See the [telemetry documentation](https://redocly.com/docs/redoc/v3.x/telemetry) for details.
150
193
 
151
194
  ## Development
152
195
  see [CONTRIBUTING.md](.github/CONTRIBUTING.md)