@codious/ngrx-generator
Generates a NgRx store based on a OpenAPI 3.x configuration.
Last updated a month ago by bartlenaerts .
MIT · Original npm · Tarball · package.json
$ cnpm install @codious/ngrx-generator 
SYNC missed versions from official npm registry.

Codious.NgRx-Generator

Generates a NgRx store based on a OpenAPI 3.x configuration.

Installation

  • Install the NPM packages. npm install

Usage

npx ngrx-gen -i <input path|url> -o <output path> -s <server name> -t <tag1, tag2>

Options:

  • [Required] --input, -i: a path to an OpenAPI specification file. This can also be an URL.
  • [Required] --output, -o: a path to a folder where the store will be generated.
  • [Optional] --server, -s: the server defined in the description of the servers section in the OpenAPI file. This value is used as the API base URL in the generated service. If the option is empty or the server couldn't be found in the servers section, the base URL will be ${environment.apiBaseUrl}. Then, in your tsconfig.json add a path "@environments": ["environments/environment"], and add the property apiBaseUrl to the files in your Angular environments folder.
  • [Optional] --tags, -t: only paths with these tags will be generated.

Current Tags

  • 1.1.12                                ...           latest (a month ago)

22 Versions

  • 1.1.12                                ...           a month ago
  • 1.1.11                                ...           a month ago
  • 1.1.10                                ...           a month ago
  • 1.1.9                                ...           2 months ago
  • 1.1.8                                ...           2 months ago
  • 1.1.7                                ...           2 months ago
  • 1.1.6                                ...           2 months ago
  • 1.1.5                                ...           3 months ago
  • 1.1.4                                ...           3 months ago
  • 1.1.3                                ...           4 months ago
  • 1.1.2                                ...           4 months ago
  • 1.1.1                                ...           4 months ago
  • 1.1.0                                ...           4 months ago
  • 1.0.8                                ...           4 months ago
  • 1.0.7                                ...           4 months ago
  • 1.0.6                                ...           4 months ago
  • 1.0.5                                ...           4 months ago
  • 1.0.4                                ...           4 months ago
  • 1.0.3                                ...           4 months ago
  • 1.0.2                                ...           4 months ago
  • 1.0.1                                ...           4 months ago
  • 1.0.0                                ...           4 months ago
Downloads
Today 0
This Week 22
This Month 22
Last Day 0
Last Week 0
Last Month 43
Dependencies (3)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |