@michaelmishin/speclens 0.1.0 → 0.1.2
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/README.md +3 -3
- package/dist/speclens.iife.js +110 -32
- package/dist/speclens.iife.js.map +1 -1
- package/dist/speclens.js +162 -16
- package/dist/speclens.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
A modern, lightweight OpenAPI documentation renderer built as a web component. Drop it into any page via CDN — no build step required.
|
|
4
4
|
|
|
5
|
-
> **
|
|
5
|
+
> **Version:** 0.1.2
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
9
9
|
- **Zero-dependency usage** — single script tag, works in any framework or plain HTML
|
|
10
10
|
- **Web component** — `<spec-lens>` custom element with Shadow DOM style isolation
|
|
11
|
-
- **Try It console** — live API request execution
|
|
12
|
-
- **Code samples** — generated snippets for cURL, JavaScript, Python, and
|
|
11
|
+
- **Try It console** — live API request execution with support for JSON, `multipart/form-data`, and `application/x-www-form-urlencoded` bodies
|
|
12
|
+
- **Code samples** — generated snippets for cURL, JavaScript, Python, Node.js, Go, Java, PHP, Ruby, and C#
|
|
13
13
|
- **Full-text search** — fast in-page search powered by MiniSearch
|
|
14
14
|
- **Light & dark themes** — auto-detects system preference, overridable via CSS custom properties
|
|
15
15
|
- **OpenAPI 3.x support** — parsed and validated by `@apidevtools/swagger-parser`
|