@4geit/swg-account-security-model
v1.10.1
Published
security definition for account api
Downloads
21
Keywords
Readme
@4geit/swg-account-security-model
security definition for account api
Installation
- A recommended way to install @4geit/swg-account-security-model is through npm package manager using the following command:
npm i @4geit/swg-account-security-model --save
Or use yarn
using the following command:
yarn add @4geit/swg-account-security-model
- In your swagger file, you need to add a reference to the
SwgAccountSecurityModel
definition under thedefinitions
property (e.g./api/swagger/swagger.yaml
) as below:
swagger: "2.0"
# ...
definitions:
SwgAccountSecurityModel:
$ref: ../../node_modules/@4geit/swg-account-security-model/swagger.yaml#/definitions/SwgAccountSecurityModel
# ...