@acceleratxr/axr-compose 中文文档教程
AcceleratXR Compose
一个命令行实用程序,可根据 OpenAPI 规范生成基于 Composer 的项目。
Supported Languages & 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: axr-compose -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
AcceleratXR Compose
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: axr-compose -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