Generator for JSONAPI .Net Core
npm install generator-jadn
```
git clone https://github.com/Research-Institute/json-api-dotnet-core-generators
cd json-api-dotnet-core-generators
npm link
See the yeoman docs
OR
``
npm install -g generator-jadn
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