Go to file
2022-03-16 13:18:32 +03:00
.github/workflows add swag builds 2022-03-16 13:18:32 +03:00
scripts BJ-467: add questionary 2019-05-23 17:16:53 +03:00
spec fix linters 2022-03-14 12:28:00 +03:00
web models 2019-06-24 15:51:53 +03:00
.gitignore [TD-150] Add swag build 2022-03-10 13:56:18 +03:00
.gitmodules BJ-467: add questionary 2019-05-23 17:16:53 +03:00
gulpfile.js Added swag for file-storage (#20) 2019-11-13 17:48:36 +03:00
LICENSE Let's make it opensource (#33) 2021-12-09 18:05:49 +03:00
Makefile Ft/bj 493/client server build (#18) 2019-07-11 17:58:03 +03:00
package-lock.json add swag builds 2022-03-16 13:18:32 +03:00
package.json added redoc-cli 2022-03-16 12:46:17 +03:00
pom.xml [TD-150] Add swag build 2022-03-10 13:56:18 +03:00
README.md Ft/bj 493/client server build (#18) 2019-07-11 17:58:03 +03:00

swag-dark-api

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://git@github.com:antonlva.github.io/rbkmoney-api-docs.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 😄

Пример подключения в проект клиентской зависимости:

<dependency>
    <groupId>com.rbkmoney</groupId>
    <artifactId>swag-dark-api</artifactId>
    <version>1.45-5184fdc-client</version>
</dependency>

Пример подключения в проект серверной зависимости:

<dependency>
    <groupId>com.rbkmoney</groupId>
    <artifactId>swag-dark-api</artifactId>
    <version>1.45-5184fdc-server</version>
</dependency>

Нельзя использовать две зависимости одновременно (из-за одинакового пути в package)