Skip to content

Commit

Permalink
Adding documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Михаил Храпунов committed May 3, 2020
1 parent f6761b3 commit 9534d84
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* [Activity Workers](#activity-api)
* [Custom Steps](#steps-api)
* [Diagnostics](#diagnostic-api)
* [Swagger documentation](#swagger-documentation)

Download the [Postman Collection](https://raw.githubusercontent.com/danielgerlag/conductor/master/docs/Conductor.postman_collection.json)

Expand Down Expand Up @@ -226,3 +227,14 @@ GET /api/step/<<id>>
```
GET /api/info
```


# Swagger Documentation

It is possible to discover and try out API with [Swagger](https://swagger.io/) in a browser `https://localhost:5001/swagger`.

![Swagger in browser](swagger_browser.png)

It’s also convenient to import a Postman collection as swagger json `https://localhost:5001/swagger/v1/swagger.json`.

![Import Posrmat collection](swagger_import.png)
Binary file added docs/swagger_browser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/swagger_import.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9534d84

Please sign in to comment.