@autoapi/cli
v1.0.8
Published
AutoAPI CLI
Downloads
681
Readme
@autoapi/cli
AutoAPI command line.
See the full documentation.
Installation
npm install -D @autoapi/cli
Usage
Initialization:
npx autoapi --init
Build All Documents:
npx autoapi
Build Specific Documents:
npx autoapi -n Foo Bar Baz
Configuration
.autoapi/config.ts
import { defineConfig } from '@autoapi/cli'
export default defineConfig({
docs: [
{
namespace: 'Example',
adapter: 'path/to/your/adaper.ts',
source: 'https://api.example.com/openapi.json',
},
// More ...
]
})