@4geit/swg-event-model 中文文档教程
@4geit/swg-event-model
事件列表功能的事件模型
Installation
- A recommended way to install @4geit/swg-event-model is through npm package manager using the following command:
npm i @4geit/swg-event-model --save
或使用 yarn
使用以下命令:
yarn add @4geit/swg-event-model
- In your swagger file, you need to add a reference to the
SwgEventModel
definition under thedefinitions
property (e.g./api/swagger/swagger.yaml
) as below:
swagger: "2.0"
# ...
definitions:
SwgEventModel:
$ref: ../../node_modules/@4geit/swg-event-model/swagger.yaml#/definitions/SwgEventModel
# ...
@4geit/swg-event-model
event model for the event list feature
Installation
- A recommended way to install @4geit/swg-event-model is through npm package manager using the following command:
npm i @4geit/swg-event-model --save
Or use yarn
using the following command:
yarn add @4geit/swg-event-model
- In your swagger file, you need to add a reference to the
SwgEventModel
definition under thedefinitions
property (e.g./api/swagger/swagger.yaml
) as below:
swagger: "2.0"
# ...
definitions:
SwgEventModel:
$ref: ../../node_modules/@4geit/swg-event-model/swagger.yaml#/definitions/SwgEventModel
# ...
更多
你可能也喜欢
- @0negativ/hawtio-integration 中文文档教程
- @0x11/esbuild-freebsd-armv7l 中文文档教程
- @0xproject/migrations 中文文档教程
- @123test123456/test-wx-community-b 中文文档教程
- @36node/adventurer-core-sdk 中文文档教程
- @3liv/rijs 中文文档教程
- @8base/boost 中文文档教程
- @8base/permissions-provider 中文文档教程
- @a417420427/use-mouse-distance 中文文档教程
- @aabuhijleh/gulp-inno 中文文档教程