tsp-asyncapi-core
v0.4.2
Published
The TypeSpec decorators and semantic model behind tsp-asyncapi. Declares the input language and emits nothing.
Maintainers
Readme
tsp-asyncapi-core
The decorators and the semantic model behind
tsp-asyncapi. It emits nothing
itself.
Note: To emit an AsyncAPI document, use
tsp-asyncapiinstead. It brings every decorator here with it, and a.tspfile only needsimport "tsp-asyncapi";.Still
0.x, so a minor release may change the exported names. The documenttsp-asyncapiproduces is unaffected.
When you want this package directly
- You are building a tool that reads what an author declared and emits nothing. Every decorator state reader is exported from here.
- You are writing a second emitter for the same input language. The resolve stage turns the program and the decorator state into a semantic model you can pick up from.
npm install tsp-asyncapi-coreMore
Traditional Chinese: README.zh-TW.md
License
MIT
