Go to file
2023-08-08 18:20:31 +07:00
.github/workflows Add release and linter actions (#32) 2023-08-08 18:20:31 +07:00
openapi Translate into eng (#31) 2023-08-08 18:00:56 +07:00
plugins TD-138: github actions, openapi 3.0 (#5) 2022-02-11 18:17:07 +03:00
web TD-138: github actions, openapi 3.0 (#5) 2022-02-11 18:17:07 +03:00
.gitignore TD-138: github actions, openapi 3.0 (#5) 2022-02-11 18:17:07 +03:00
.redocly.yaml TD-138: github actions, openapi 3.0 (#5) 2022-02-11 18:17:07 +03:00
crowdin.yml Update Crowdin configuration file 2023-01-18 16:47:38 +07:00
LICENSE Redoc ready fix (#2) 2017-04-25 17:44:38 +03:00
package-lock.json Update all non-major dependencies (#7) 2023-08-08 18:07:15 +07:00
package.json Update all non-major dependencies (#7) 2023-08-08 18:07:15 +07:00
pom.xml Update dependency org.slf4j:slf4j-log4j12 to v2 (#21) 2023-08-08 18:11:28 +07:00
README.md fixed command 2019-03-20 16:25:22 +03:00
renovate.json Update renovate config 2022-02-21 13:46:37 +03:00

wercker status

RBKmoney Webhooks Events API Specification

Working on specification

Install

  1. Install Node JS
  2. Clone repo and cd
    • Run npm install

Usage

  1. Run npm start
  2. 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>
  3. Make changes using your favorite editor or swagger-editor (look for URL in console output)
  4. 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 and swagger-ui in parallel
  5. Once you finish with the changes you can run tests using: npm test
  6. Share you changes with the rest of the world by pushing to GitHub 😄

Generate java-client code

  1. Install swagger-codegen with brew brew install swagger-codegen
  2. Run npm start
  3. Run npm run build
  4. Use this command swagger-codegen generate -i web_deploy/swagger.json -l java -o ./java --api-package "com.rbkmoney.swag_webhook_events" --artifact-id "swag-webhook-events" --artifact-version "1.0.8-SNAPSHOT" --group-id "com.rbkmoney" --model-package "com.rbkmoney.swag_webhook_events" --library resttemplate --additional-properties dateLibrary=java8