@redocly/openapi-docs 3.17.0 → 3.18.0-custom.0
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/redocly-openapi-docs.min.js +3388 -2653
- package/lib/components/ApiInfo/ApiInfo.js +1 -1
- package/lib/components/ApiInfo/Metadata.js +1 -1
- package/lib/components/Callbacks/CallbackDetails.js +2 -2
- package/lib/components/ExpandAllButton/ExpandAllButton.js +2 -2
- package/lib/components/Language/LanguageList.js +1 -1
- package/lib/components/McpOverview/McpOverview.js +7 -3
- package/lib/components/OperationItem/OperationItem.js +10 -6
- package/lib/components/Overview/Overview.js +1 -1
- package/lib/components/PanelItem/styled.js +8 -4
- package/lib/components/PayloadSamples/PayloadSamples.js +1 -1
- package/lib/components/PayloadSamples/types.d.ts +1 -0
- package/lib/components/RedoclyOpenAPIDocs/RedoclyOpenAPIDocs.js +1 -1
- package/lib/components/Request/RequestDetails.js +8 -2
- package/lib/components/Request/types.d.ts +1 -1
- package/lib/components/RequestParameters/Body.d.ts +1 -0
- package/lib/components/RequestParameters/Body.js +1 -1
- package/lib/components/RequestParameters/RequestParameters.d.ts +2 -1
- package/lib/components/RequestParameters/RequestParameters.js +1 -1
- package/lib/components/RequestSamples/Example.js +1 -1
- package/lib/components/RequestSamples/RequestSamples.js +2 -2
- package/lib/components/RequestSamples/useCodeSamples.d.ts +1 -1
- package/lib/components/RequestSamples/useCodeSamples.js +1 -1
- package/lib/components/ResponseSamples/ResponseSamples.js +1 -1
- package/lib/components/ResponseSamples/Summary.d.ts +2 -1
- package/lib/components/ResponseSamples/Summary.js +1 -1
- package/lib/components/Responses/OperationResponseList.d.ts +1 -0
- package/lib/components/Responses/OperationResponseList.js +3 -2
- package/lib/components/Responses/ResponseDetails.js +1 -1
- package/lib/components/Responses/styled.js +4 -2
- package/lib/components/Responses/types.d.ts +1 -0
- package/lib/components/RightPanel/RightPanel.js +5 -1
- package/lib/components/Samples/ExampleSwitch.js +1 -1
- package/lib/components/Schema/Schema.js +1 -1
- package/lib/components/SchemaDefinition/SchemaDefinition.js +5 -2
- package/lib/components/SectionContent/SectionContent.js +7 -5
- package/lib/components/SectionItem/SectionItem.js +1 -1
- package/lib/components/Security/OAuthScopes.d.ts +3 -3
- package/lib/components/Security/OAuthScopes.js +12 -11
- package/lib/components/Security/RequiredScopes.d.ts +6 -0
- package/lib/components/Security/RequiredScopes.js +17 -0
- package/lib/components/Security/RequiredScopesList.d.ts +14 -0
- package/lib/components/Security/RequiredScopesList.js +13 -0
- package/lib/components/Security/ScopeTagWithTooltip.d.ts +17 -0
- package/lib/components/Security/ScopeTagWithTooltip.js +33 -0
- package/lib/components/Security/Security.js +1 -1
- package/lib/components/Security/SecurityButton.js +14 -14
- package/lib/components/Security/SecurityFlow.js +18 -5
- package/lib/components/ServerList/ServerList.js +11 -11
- package/lib/components/ServerListDropdown/ServerListDropdown.js +1 -1
- package/lib/components/TagItem/OperationsNavigation.js +2 -2
- package/lib/components/TagItem/TagItem.js +50 -37
- package/lib/components/ViewNested/ViewNested.js +7 -7
- package/lib/components/common/BodyContent/BodyContent.d.ts +2 -0
- package/lib/components/common/BodyContent/BodyContent.js +4 -4
- package/lib/components/common/Dropdown/Dropdown.d.ts +2 -2
- package/lib/components/common/Dropdown/Dropdown.js +44 -10
- package/lib/components/common/Fields/fields.js +5 -3
- package/lib/components/common/OperationItemTitle.js +8 -6
- package/lib/components/common/SchemaSelection/SchemaSelection.js +1 -1
- package/lib/components/common/Select/Select.js +1 -1
- package/lib/components/common/Select/styled.d.ts +0 -1
- package/lib/components/common/Select/styled.js +19 -63
- package/lib/components/common/Select/types.d.ts +0 -3
- package/lib/components/common/styled.js +4 -4
- package/lib/icons/CSharpIcon/CSharpIcon.d.ts +2 -1
- package/lib/icons/CSharpIcon/CSharpIcon.js +1 -1
- package/lib/icons/CurlIcon/CurlIcon.d.ts +3 -2
- package/lib/icons/CurlIcon/CurlIcon.js +2 -2
- package/lib/icons/GOIcon/GOIcon.d.ts +2 -1
- package/lib/icons/GOIcon/GOIcon.js +1 -1
- package/lib/icons/JavaIcon/JavaIcon.d.ts +2 -1
- package/lib/icons/JavaIcon/JavaIcon.js +1 -1
- package/lib/icons/JavaScriptIcon/JavaScriptIcon.d.ts +2 -1
- package/lib/icons/JavaScriptIcon/JavaScriptIcon.js +1 -1
- package/lib/icons/NodeJSIcon/NodeJSIcon.d.ts +2 -1
- package/lib/icons/NodeJSIcon/NodeJSIcon.js +1 -1
- package/lib/icons/PHPIcon/PHPIcon.d.ts +2 -1
- package/lib/icons/PHPIcon/PHPIcon.js +1 -1
- package/lib/icons/PythonIcon/PythonIcon.d.ts +2 -1
- package/lib/icons/PythonIcon/PythonIcon.js +1 -1
- package/lib/icons/RIcon/RIcon.d.ts +2 -1
- package/lib/icons/RIcon/RIcon.js +1 -1
- package/lib/icons/RubyIcon/RubyIcon.d.ts +2 -1
- package/lib/icons/RubyIcon/RubyIcon.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/models/group.js +1 -1
- package/lib/models/operation.js +1 -1
- package/lib/models/request.js +1 -1
- package/lib/models/response.js +1 -1
- package/lib/models/schema.js +2 -2
- package/lib/models/types.d.ts +2 -0
- package/lib/services/menu/markdown.js +1 -1
- package/lib/services/menu/operation.js +1 -1
- package/lib/services/menu/tags.js +3 -3
- package/lib/services/types.d.ts +7 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.js +1 -1
- package/lib/types/oauth2-types.d.ts +4 -0
- package/lib/types/oauth2-types.js +0 -0
- package/lib/types/open-api.d.ts +12 -0
- package/lib/utils/mcp.d.ts +1 -1
- package/lib/utils/mcp.js +1 -1
- package/lib/utils/openapi.d.ts +4 -1
- package/lib/utils/openapi.js +1 -1
- package/lib/utils/security-scope.d.ts +5 -0
- package/lib/utils/security-scope.js +1 -0
- package/lib/utils/string.js +1 -1
- package/package.json +21 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/openapi-docs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0-custom.0",
|
|
4
4
|
"description": "Redocly OpenAPI Docs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -14,23 +14,23 @@
|
|
|
14
14
|
"npm": ">=10.0.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@redocly/theme": ">=0.
|
|
18
|
-
"react": "19.2.
|
|
19
|
-
"react-dom": "19.2.
|
|
17
|
+
"@redocly/theme": ">=0.62.0-custom.0",
|
|
18
|
+
"react": "^19.2.4",
|
|
19
|
+
"react-dom": "^19.2.4",
|
|
20
20
|
"styled-components": "^4.1.1 || ^5.3.11 || ^6.0.0"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@markdoc/markdoc": "0.5.2",
|
|
24
|
-
"@redocly/openapi-core": "2.
|
|
24
|
+
"@redocly/openapi-core": "2.17.0",
|
|
25
25
|
"deepmerge": "^4.2.2",
|
|
26
26
|
"dompurify": "3.2.7",
|
|
27
27
|
"fast-deep-equal": "^3.1.3",
|
|
28
|
-
"fast-xml-parser": "5.
|
|
28
|
+
"fast-xml-parser": "5.3.4",
|
|
29
29
|
"jotai": "^2.12.5",
|
|
30
30
|
"jotai-family": "^1.0.1",
|
|
31
31
|
"json-pointer": "^0.6.2",
|
|
32
32
|
"openapi-sampler": "1.6.2",
|
|
33
|
-
"react-router-dom": "^6.
|
|
33
|
+
"react-router-dom": "^6.30.3",
|
|
34
34
|
"slugify": "^1.4.4",
|
|
35
35
|
"stringify-object": "^3.3.0",
|
|
36
36
|
"styled-components": "^4.1.1 || ^5.3.11 || ^6.0.0",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"url-template": "^2.0.8",
|
|
39
39
|
"util": "~0.12.5",
|
|
40
40
|
"web-vitals": "3.3.1",
|
|
41
|
-
"@redocly/
|
|
42
|
-
"@redocly/
|
|
41
|
+
"@redocly/replay": "0.21.0-custom.0",
|
|
42
|
+
"@redocly/config": "0.43.0-custom.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@shikijs/transformers": "
|
|
45
|
+
"@shikijs/transformers": "3.21.0",
|
|
46
46
|
"@testing-library/jest-dom": "6.6.3",
|
|
47
47
|
"@testing-library/react": "16.3.0",
|
|
48
48
|
"@testing-library/user-event": "14.6.1",
|
|
@@ -61,30 +61,29 @@
|
|
|
61
61
|
"outdent": "0.8.0",
|
|
62
62
|
"path-browserify": "1.0.1",
|
|
63
63
|
"prettier-2": "npm:prettier@2.8.8",
|
|
64
|
-
"react": "19.2.
|
|
65
|
-
"react-dom": "19.2.
|
|
64
|
+
"react": "^19.2.4",
|
|
65
|
+
"react-dom": "^19.2.4",
|
|
66
66
|
"rimraf": "5.0.7",
|
|
67
67
|
"rollup-plugin-bundle-stats": "^4.20.2",
|
|
68
|
-
"shiki": "
|
|
68
|
+
"shiki": "3.21.0",
|
|
69
69
|
"styled-components": "5.3.11",
|
|
70
70
|
"tsx": "4.20.3",
|
|
71
71
|
"typescript": "5.9.3",
|
|
72
72
|
"url": "~0.11.0",
|
|
73
73
|
"vite": "7.2.6",
|
|
74
74
|
"vitest": "4.0.10",
|
|
75
|
-
"@redocly/theme": "0.
|
|
75
|
+
"@redocly/theme": "0.62.0-custom.0"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
|
-
"start": "
|
|
79
|
-
"build": "
|
|
78
|
+
"start": "pnpm run copy-highlight-hook && vite",
|
|
79
|
+
"build": "pnpm run clean && pnpm run build:lib && pnpm run build:standalone",
|
|
80
80
|
"build:lib": "tsc -p tsconfig.build.json && node scripts/minify.js lib",
|
|
81
81
|
"build:standalone": "vite build && node scripts/minify.js dist",
|
|
82
|
-
"prepare:community-source": "
|
|
83
|
-
"prepare:community-source-only": "
|
|
84
|
-
"prepare:community-dependencies": "
|
|
85
|
-
"apply:community-source": "
|
|
86
|
-
"test": "
|
|
87
|
-
"test:redoc": "cd redoc && npm install ../../theme ../../redocly-config --no-save && npm run lint && npm run unit",
|
|
82
|
+
"prepare:community-source": "pnpx tsx scripts/prepare-community-source.ts --",
|
|
83
|
+
"prepare:community-source-only": "pnpm run prepare:community-source --ignore /src/* private-readme.md",
|
|
84
|
+
"prepare:community-dependencies": "pnpx tsx scripts/prepare-community-dependencies.ts",
|
|
85
|
+
"apply:community-source": "pnpx tsx scripts/apply-changes-from-community-source.ts",
|
|
86
|
+
"test": "vitest run",
|
|
88
87
|
"unit": "vitest run",
|
|
89
88
|
"unit:update": "vitest run -u",
|
|
90
89
|
"unit:watch": "vitest",
|