Skip to content

Commit 3e90c02

Browse files
authored
describe how to look at swagger locally (#1388)
1 parent 7ba2bf4 commit 3e90c02

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/developer/how-to.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Developer how-to's
2+
3+
The following assume you have a working developer environment with all the dependencies listed in [./dependencies.md](./dependencies.md) available to you.
4+
5+
## How to look at the swagger docs / UI locally
6+
7+
Terminal 1:
8+
* Set up backing services: `./deploy/dockerephemeral/run.sh`
9+
10+
Terminal 2:
11+
* Compile all services: `make services`
12+
* Run services including nginz: `export INTEGRATION_USE_NGINZ=1; ./services/start-services-only.sh`
13+
14+
Open your browser at:
15+
16+
- http://localhost:8080/api/swagger-ui for the swagger 2.0 endpoints (in development as of Feb 2021 - more endpoints will be added here as time goes on)
17+
- http://localhost:8080/swagger-ui/ for the old swagger 1.2 API (old swagger, endpoints will disappear from here (and become available in the previous link) as time progresses)
18+
19+
Swagger json (for swagger 2.0 endpoints) is available under http://localhost:8080/api/swagger.json

0 commit comments

Comments
 (0)