A stix module that generates swagger docs based on your stix app.
It currently works with:
- stix-gates
- stix-schema
- stix-wetland
- stix-security
All of these you'll want to use anyway, stix-swagger just uses them to build your swagger docs for you.
Installation
The same as any other stix module. yarn add stix-swagger
and add it to your modules.ts
config.
The server then gets started when NODE_ENV is not production (so in dev).
I like to add this to my app.ts so it always outputs the swagger url in dev when running the server:
;;; ;
License
MIT.