@adhd/apigen-plugin-openapi 0.1.0 → 0.1.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 (2) hide show
  1. package/README.md +14 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,14 @@
1
+ # @adhd/apigen-plugin-openapi
2
+
3
+ apigen plugin — emits an **OpenAPI** document for a source file's exports, built on
4
+ [`@adhd/apigen-codegen-openapi`](../../codegen/openapi).
5
+
6
+ Part of [apigen](../../README.md). Driven via [`@adhd/apigen-cli`](../../cli).
7
+
8
+ ```bash
9
+ npx @adhd/apigen-cli generate --source ./api.ts --type openapi --out-dir ./out
10
+ ```
11
+
12
+ ```ts
13
+ import { openapiPlugin, type OpenapiOptions } from '@adhd/apigen-plugin-openapi'
14
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhd/apigen-plugin-openapi",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "main": "./index.js",
5
5
  "dependencies": {
6
6
  "@adhd/apigen-core": "^0.1.0",