generator-jadn

1.2.1 • Public • Published

JSONAPI .Net Core Generators

npm version

Development

git clone https://github.com/Research-Institute/json-api-dotnet-core-generators
cd json-api-dotnet-core-generators
npm link

Installation

See the yeoman docs

OR

npm install -g generator-jadn

Usage

All commands should be run from the project root

Creating a model and controller:

yo jadn:entity MyEntity
  • Specifying the id type of the model (defaults to int):
yo jadn:entity MyEntity:Guid
  • Adding attributes to the model:
yo jadn:entity MyEntity name:string displayName:string
  • Adding relationships:
yo jadn:entity Person hasmany:todoItems
yo jadn:entity TodoItem hasone:owner:person

Readme

Keywords

Package Sidebar

Install

npm i generator-jadn

Weekly Downloads

7

Version

1.2.1

License

MIT

Last publish

Collaborators

  • jaredcnance