@quobix/vacuum 0.33.0 → 0.33.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.
- package/README.md +22 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -287,6 +287,27 @@ vs individually.
|
|
|
287
287
|
|
|
288
288
|
### [Quick Start Guide 🚀](https://quobix.com/vacuum/start)
|
|
289
289
|
|
|
290
|
+
### Bundle AsyncAPI 3
|
|
291
|
+
|
|
292
|
+
`vacuum bundle` detects AsyncAPI 3 documents and supports inline and composed output:
|
|
293
|
+
|
|
294
|
+
```bash
|
|
295
|
+
vacuum bundle events.asyncapi.yaml bundled.yaml
|
|
296
|
+
vacuum bundle events.asyncapi.yaml bundled.json --composed --delimiter __
|
|
297
|
+
cat events.asyncapi.yaml | vacuum bundle --stdin --stdout --base ./specs --format json
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
External objects are inlined by default. Shared schemas are emitted once, with
|
|
301
|
+
local references for later uses. Composed mode stores external objects in AsyncAPI
|
|
302
|
+
component sections. Both modes preserve the local references required by
|
|
303
|
+
operations, messages, channels, and servers. Input-file references resolve from
|
|
304
|
+
the input directory unless `--base` is supplied. Use `--remote=false` to disable
|
|
305
|
+
remote loading; `--ext-refs` opts into resolving references inside extensions.
|
|
306
|
+
Unresolved or ambiguous references return an error without writing an incomplete
|
|
307
|
+
bundle. Schema resource IDs are resolved before relocation. Non-JSON schema
|
|
308
|
+
content is preserved; language-specific imports and dynamic JSON Schema references
|
|
309
|
+
are not bundled.
|
|
310
|
+
|
|
290
311
|
See all the documentation at https://quobix.com/vacuum
|
|
291
312
|
|
|
292
313
|
- [Installing vacuum](https://quobix.com/vacuum/installing/)
|
|
@@ -304,7 +325,7 @@ See all the documentation at https://quobix.com/vacuum
|
|
|
304
325
|
- [docs](https://quobix.com/vacuum/commands/docs/)
|
|
305
326
|
- [dashboard](https://quobix.com/vacuum/commands/dashboard/)
|
|
306
327
|
- [html-report](https://quobix.com/vacuum/commands/html-report/)
|
|
307
|
-
- [bundle](https://quobix.com/vacuum/commands/bundle/)
|
|
328
|
+
- [bundle](https://quobix.com/vacuum/commands/bundle/) - OpenAPI and AsyncAPI 3, with inline and composed output.
|
|
308
329
|
- [spectral-report](https://quobix.com/vacuum/commands/spectral-report/)
|
|
309
330
|
- [language-server](https://quobix.com/vacuum/commands/language-server/)
|
|
310
331
|
- [upgrade](https://quobix.com/vacuum/commands/upgrade/)
|