diff --git a/README.md b/README.md
index 774a120..92f2067 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,11 @@ Simple [OpenAPI](https://www.openapis.org/) spec to HTML renderer.
Kong
+
+
+
+ Redoc
+ |
@@ -76,13 +81,14 @@ const html = renderHTML({
## Options
-- `renderer`: Renderer UI. Possible values: `"swagger"` | `"scalar"` | `"kong"`
+- `renderer`: Renderer UI. Possible values: `"swagger"` | `"scalar"` | `"kong"` | `"redoc"`
- `spec`: URL to OpenAPI spec JSON to render
- `meta`: Metadata for the OpenAPI documentation.
- `styles`: Additional HTML styles.
- `scalar`: Scalar UI configuration.
- `swagger`: Swagger UI configuration.
- `kong`: Kong Spec Renderer UI configuration.
+- `redoc`: Redoc UI configuration.
## Development
diff --git a/package.json b/package.json
index f8adae4..93972c3 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,8 @@
},
"peerDependencies": {
"@kong/spec-renderer": "^1",
- "@scalar/api-reference": "^1"
+ "@scalar/api-reference": "^1",
+ "redoc": "^2"
},
"peerDependenciesMeta": {
"@kong/spec-renderer": {
@@ -48,6 +49,9 @@
},
"@scalar/api-reference": {
"optional": true
+ },
+ "redoc": {
+ "optional": true
}
},
"packageManager": "pnpm@10.12.3"
diff --git a/playground/index.mjs b/playground/index.mjs
index 8144669..3ad3678 100644
--- a/playground/index.mjs
+++ b/playground/index.mjs
@@ -31,6 +31,10 @@ serve({
Kong UI
+
+ Redoc UI
+
+