Skip to content

Commit

Permalink
doc: run locally swagger ui
Browse files Browse the repository at this point in the history
Motivation:
Ease integration of newcommer!

Modifications:
Add a README.md with a way to run locally swagger ui on gatling openapi.
  • Loading branch information
bastien-gatling committed Jul 1, 2024
1 parent d961570 commit 38f01b2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Gatling Enterprise Api

## Test locally openapi

On project root directory:

```shell
docker run -p 9090:8080 -e SWAGGER_JSON=/tmp/openapi.yaml -v `pwd`/openapi/src/main/openapi:/tmp swaggerapi/swagger-ui
docker run -p 9090:8080 -e SWAGGER_JSON=/tmp/openapi.yaml -v "$(pwd)/openapi/src/main/openapi":/tmp swaggerapi/swagger-ui
```
You can access to your local swagger ui at [http://localhost:9090](http://localhost:9090)

0 comments on commit 38f01b2

Please sign in to comment.