|
@ -1,6 +1,6 @@ |
|
|
# swagger-ui |
|
|
# swagger-ui |
|
|
|
|
|
|
|
|
Swagger UI 2.2.6 with API_URL and API_KEY injection (45 MB) |
|
|
|
|
|
|
|
|
Swagger UI 2.2.6 with API_URL, API_KEY and OAUTH2 injection (45 MB) |
|
|
|
|
|
|
|
|
## Usage |
|
|
## Usage |
|
|
|
|
|
|
|
@ -12,5 +12,12 @@ $ docker run -d -p 80:80 -e API_URL=http://localhost:4000/swagger schickling/swa |
|
|
|
|
|
|
|
|
* `API_URL` - Swagger endpoint for your API |
|
|
* `API_URL` - Swagger endpoint for your API |
|
|
* `API_KEY` - Default API Key (optional) |
|
|
* `API_KEY` - Default API Key (optional) |
|
|
* `PORT` - Default port to run on (optional) |
|
|
|
|
|
|
|
|
* `PORT` - Default port to run on (optional) |
|
|
* `VALIDATOR_URL` - Swagger validator (optional) |
|
|
* `VALIDATOR_URL` - Swagger validator (optional) |
|
|
|
|
|
* `OAUTH_CLIENT_ID` - oAuth2 client ID (optional, use empty to remove) |
|
|
|
|
|
* `OAUTH_CLIENT_SECRET` - oAuth2 client secret (optional, use empty to remove) |
|
|
|
|
|
* `OAUTH_REALM` - oAuth2 realm (optional, use empty to remove) |
|
|
|
|
|
* `OAUTH_APP_NAME` - oAuth2 app name (optional, use empty to remove) |
|
|
|
|
|
* `OAUTH_ADDITIONAL_PARAMS` - oAuth2 query string additional params (optional) |
|
|
|
|
|
|
|
|
|
|
|
Variable value `**None**` should not be used for above defined variables. |