@composer-js/cli
v1.3.0
Published
A command line utility that generates Composerjs style client and server application code from one or more OpenAPI specification files.
Downloads
19
Readme
Composer
A command line utility that generates Composer based projects from an OpenAPI specification.
Supported Languages & Platforms
This tool can generate client and server projects for the following list of languages and platforms.
| Language / Platform | Type | Description |
| ------------------- | ------ | ----------------------------------- |
| cpp
(C++) | client
| C++ SDK library |
| csharp
(C#) | client
| C# SDK library |
| typescript
| client
| TypeScript/JavaScript SDK library |
| nodejs
| server
| Standalone NodeJS server |
Usage
Usage: composer -i <input> -o <output> -l <language> -t <type>
-i --input The input OpenAPI specification file to generate from.
Accepts JSON or YAML formatted files. Specify this option multiple times to merge files.
-o --output The destination path to write all files to.
-l --language The desired output language to generate.
Supported Languages:
cpp
csharp
nodejs
typescript
-t --type The type of project to generate.
Supported Types:
client
server