You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi/README.md
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,14 @@ You will find the API Specs at runtime at the `/seldon.json` path of your API en
9
9
10
10
You will need to be running 0.2.4-SNAPSHOT or later for this endpoint to be active.
11
11
12
-
## Viewing/Testing via Swagger-UI
12
+
## Viewing/Testing via SwaggerUI
13
13
14
14
You can view the APIs using the [Swagger UI tool](https://swagger.io/tools/swagger-ui/).
15
15
16
-
You can run this via Docker with:
16
+
You can run this via Docker, from the [`seldon-core/openapi` directory](https://github.com/SeldonIO/seldon-core/tree/master/openapi), with:
17
17
18
18
```bash
19
-
docker run --network host --rm swaggerapi/swagger-editor
19
+
docker run -p 8080:8080 --rm -e URL=/custom.yaml -v ./wrapper.oas3.json:/usr/share/nginx/html/custom.yaml swaggerapi/swagger-ui
20
20
```
21
21
22
22
It will be reachable at http://localhost:8080/
@@ -39,5 +39,3 @@ For using the Swagger "try it out" feature there are some caveats due to Swagger
39
39
We welcome contributions to improving these initial API specifications.
40
40
41
41
We plan to investigate how these APIs can be customized to show the acceptable payloads for a particular machine learning inference graph running under Seldon Core. Suggestions welcome.
0 commit comments