@amqp-contract/asyncapi 0.3.0 → 0.3.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/docs/index.md +6 -6
  2. package/package.json +3 -3
package/docs/index.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ### AsyncAPIGenerator
10
10
 
11
- Defined in: [index.ts:92](https://github.com/btravers/amqp-contract/blob/63bb54252f8a9109544152686427ef223964c15c/packages/asyncapi/src/index.ts#L92)
11
+ Defined in: [index.ts:92](https://github.com/btravers/amqp-contract/blob/9351cdf40185977e98479881b5fc5e55897fdf7b/packages/asyncapi/src/index.ts#L92)
12
12
 
13
13
  Generator for creating AsyncAPI 3.0 documentation from AMQP contracts.
14
14
 
@@ -65,7 +65,7 @@ const asyncapi = await generator.generate(contract, {
65
65
  new AsyncAPIGenerator(options): AsyncAPIGenerator;
66
66
  ```
67
67
 
68
- Defined in: [index.ts:100](https://github.com/btravers/amqp-contract/blob/63bb54252f8a9109544152686427ef223964c15c/packages/asyncapi/src/index.ts#L100)
68
+ Defined in: [index.ts:100](https://github.com/btravers/amqp-contract/blob/9351cdf40185977e98479881b5fc5e55897fdf7b/packages/asyncapi/src/index.ts#L100)
69
69
 
70
70
  Create a new AsyncAPI generator instance.
71
71
 
@@ -87,7 +87,7 @@ Create a new AsyncAPI generator instance.
87
87
  generate(contract, options): Promise<AsyncAPIObject>;
88
88
  ```
89
89
 
90
- Defined in: [index.ts:132](https://github.com/btravers/amqp-contract/blob/63bb54252f8a9109544152686427ef223964c15c/packages/asyncapi/src/index.ts#L132)
90
+ Defined in: [index.ts:132](https://github.com/btravers/amqp-contract/blob/9351cdf40185977e98479881b5fc5e55897fdf7b/packages/asyncapi/src/index.ts#L132)
91
91
 
92
92
  Generate an AsyncAPI 3.0 document from a contract definition.
93
93
 
@@ -130,7 +130,7 @@ const asyncapi = await generator.generate(contract, {
130
130
 
131
131
  ### AsyncAPIGeneratorOptions
132
132
 
133
- Defined in: [index.ts:31](https://github.com/btravers/amqp-contract/blob/63bb54252f8a9109544152686427ef223964c15c/packages/asyncapi/src/index.ts#L31)
133
+ Defined in: [index.ts:31](https://github.com/btravers/amqp-contract/blob/9351cdf40185977e98479881b5fc5e55897fdf7b/packages/asyncapi/src/index.ts#L31)
134
134
 
135
135
  Options for configuring the AsyncAPI generator.
136
136
 
@@ -149,7 +149,7 @@ const generator = new AsyncAPIGenerator({
149
149
 
150
150
  | Property | Type | Description | Defined in |
151
151
  | ------ | ------ | ------ | ------ |
152
- | <a id="schemaconverters"></a> `schemaConverters?` | `ConditionalSchemaConverter`[] | Schema converters for transforming validation schemas to JSON Schema. Supports Zod, Valibot, ArkType, and other Standard Schema v1 compatible libraries. | [index.ts:36](https://github.com/btravers/amqp-contract/blob/63bb54252f8a9109544152686427ef223964c15c/packages/asyncapi/src/index.ts#L36) |
152
+ | <a id="schemaconverters"></a> `schemaConverters?` | `ConditionalSchemaConverter`[] | Schema converters for transforming validation schemas to JSON Schema. Supports Zod, Valibot, ArkType, and other Standard Schema v1 compatible libraries. | [index.ts:36](https://github.com/btravers/amqp-contract/blob/9351cdf40185977e98479881b5fc5e55897fdf7b/packages/asyncapi/src/index.ts#L36) |
153
153
 
154
154
  ## Type Aliases
155
155
 
@@ -159,7 +159,7 @@ const generator = new AsyncAPIGenerator({
159
159
  type AsyncAPIGeneratorGenerateOptions = Pick<AsyncAPIObject, "id" | "info" | "servers">;
160
160
  ```
161
161
 
162
- Defined in: [index.ts:43](https://github.com/btravers/amqp-contract/blob/63bb54252f8a9109544152686427ef223964c15c/packages/asyncapi/src/index.ts#L43)
162
+ Defined in: [index.ts:43](https://github.com/btravers/amqp-contract/blob/9351cdf40185977e98479881b5fc5e55897fdf7b/packages/asyncapi/src/index.ts#L43)
163
163
 
164
164
  Options for generating an AsyncAPI document.
165
165
  These correspond to the top-level AsyncAPI document fields.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amqp-contract/asyncapi",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "AsyncAPI specification generator for amqp-contract",
5
5
  "keywords": [
6
6
  "amqp",
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@orpc/openapi": "1.13.0",
46
46
  "@standard-schema/spec": "1.1.0",
47
- "@amqp-contract/contract": "0.3.0"
47
+ "@amqp-contract/contract": "0.3.1"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@asyncapi/parser": "3.4.0",
@@ -55,7 +55,7 @@
55
55
  "@vitest/coverage-v8": "4.0.16",
56
56
  "arktype": "2.1.29",
57
57
  "tsdown": "0.18.2",
58
- "typedoc": "0.28.3",
58
+ "typedoc": "0.28.15",
59
59
  "typedoc-plugin-markdown": "4.9.0",
60
60
  "typescript": "5.9.3",
61
61
  "valibot": "1.2.0",