https://github.com/wolfchamane/amjs-api-parser
Reads and parses an API spec file, then creates ORM solution
https://github.com/wolfchamane/amjs-api-parser
Last synced: 10 months ago
JSON representation
Reads and parses an API spec file, then creates ORM solution
- Host: GitHub
- URL: https://github.com/wolfchamane/amjs-api-parser
- Owner: Wolfchamane
- License: mit
- Created: 2019-07-16T10:34:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T00:49:00.000Z (about 5 years ago)
- Last Synced: 2025-01-22T17:14:45.210Z (over 1 year ago)
- Language: JavaScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @amjs/api-parser 0.1.2
> Reads your API spec file and creates complete ORM solution files, using [@amjs/data-types](https://www.npmjs.com/package/@amjs/data-types)
## Installation
```bash
$ npm i -g @amjs/api-parser
```
## Usage
```bash
$ api-parser --src --o [options]
```
__Options__:
|Option|Description|
|:---:|:--- |
|`--s`, `--src`, `--source`|**API spec file or folder**|
|`--o`, `--out`, `--output`|**Output destination folder**|
|`--v`, `--verbose`|Enables debug information|
|`--nc`, `--no-clean`|Persists logs after execution (use with caution)|
## Supported API specs
Currently supported API specs are:
- [OpenApi](https://www.openapis.org/)
- _[JSONApi](https://jsonapi.org/)_ (WIP)
- _[RAML](https://raml.org/)_ (WIP)