Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guocaoyi/qapi
QApi is a TypeScript definitions generator, ๐ based on OpenAPI(Swagger)!
https://github.com/guocaoyi/qapi
api api-client openapi swagger-api typescript-definitions yapi-plugin
Last synced: about 2 months ago
JSON representation
QApi is a TypeScript definitions generator, ๐ based on OpenAPI(Swagger)!
- Host: GitHub
- URL: https://github.com/guocaoyi/qapi
- Owner: guocaoyi
- License: apache-2.0
- Created: 2022-02-14T08:15:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-14T11:06:38.000Z (over 2 years ago)
- Last Synced: 2024-11-04T00:21:01.848Z (3 months ago)
- Topics: api, api-client, openapi, swagger-api, typescript-definitions, yapi-plugin
- Language: TypeScript
- Homepage: https://qapi.js.org
- Size: 82 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# QAPI
QAPI ้่ฟ่งฃๆ BFF ้กน็ฎๆฅๅฃ็ผ่ฏ็ๆ็็ Swagger.json ๏ผ็ดๆฅ็ๆไธๅก API๏ผๆนๆณๅใHttp MethodใURLใParamsใQueryใBody๏ผ๏ผ
## Features
```bash
.
โโโ README.md
โโโ packages
โ โโโ create-qapi #
โ โโโ qapi-core # core ๆ ธๅฟไปฃ็
โ โโโ qapi-playground # qapi ๅจ็บฟ่ฝฌๆขๅจ
โ โโโ yapi-plugin-typegen # yapi ๆไปถ
โโโ CONTRIBUTING.md # for contribution
โโโ tsconfig.json
```## QAPI Core
## QAPI CLI
```bash
Generate API from Swagger OpenAPI specsUsage
$ qapi [input] [options]Options
--help help inofs--parse
--publish
--push--npmServer npm register
--npmScope npm Scope e.g. @xxx/pack
--npmUser npm user
--npmPassword npm password--docPublish
--docisGroupExist
```- json | yaml -> api source
- api source -> npm package## QAPI Server
```bash
npm start
npm stop
```