mirror of
https://github.com/valitydev/swag-webhook-events.git
synced 2024-11-07 02:45:19 +00:00
630d1e7cb8
* HOOK-11: Initial webhook events swagger commit * fix .gitignore * hotfix * added signature header * fix * fix * fixed after some comments (not at all) * fixed after other comments * fixed doc about retry policy * Fixed camelCase * Fixed * fixed * added amount minimum * removed host * fixed minor bug * added payload to required fields * added partyId * added description about queue policy * fix resend policy depends of http-code * removed x-request-id header * -added ReDoc infrastructure - completely reformat spec structure * added gitignore * forgot to add gitignore, removed node_modules * readme fix * removed web_deploy * removed unnecessary wsd * changed eventid type * review fix #1 * wording fix, build fix |
||
---|---|---|
scripts | ||
spec | ||
web | ||
.gitignore | ||
gulpfile.js | ||
LICENSE | ||
Makefile | ||
package.json | ||
README.md | ||
wercker.yml |
RBKmoney Webhooks Events API Specification
Working on specification
Install
- Install Node JS
- Clone repo and
cd
- Run
npm install
- Run
Usage
- Run
npm start
- Checkout console output to see where local server is started. You can use all links (except
preview
) by replacing https://github.com/antonlva/swag-webhook-events.git/ with url from the message:Server started <url>
- Make changes using your favorite editor or
swagger-editor
(look for URL in console output) - All changes are immediately propagated to your local server, moreover all documentation pages will be automagically refreshed in a browser after each change
TIP: you can open
swagger-editor
, documentation andswagger-ui
in parallel - Once you finish with the changes you can run tests using:
npm test
- Share you changes with the rest of the world by pushing to GitHub 😄