Skip to content

Commit

Permalink
fix: server quickstart swagger-ui image link (#325)
Browse files Browse the repository at this point in the history
* fix server Swagger UI img link

* fix server Swagger UI img link
  • Loading branch information
VGalaxies authored Jan 22, 2024
1 parent 1956a4c commit f4b6519
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions content/cn/docs/quickstart/hugegraph-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,19 +652,19 @@ _说明_
另外也可以通过访问 `localhost:8080/swagger-ui/index.html` 查看 API。

<div style="text-align: center;">
<img src="/docs/images/images-server/621swaggerui示例.png" alt="image">
<img src="/docs/images/images-server/swagger-ui.png" alt="image">
</div>

在使用 Swagger UI 调试 HugeGraph 提供的 API 时,如果 HugeGraph Server 开启了鉴权模式,可以在 Swagger 页面输入鉴权信息。

<div style="text-align: center;">
<img src="/docs/images/images-server/621swaggerui-where-set-auth-example.png" alt="image">
<img src="/docs/images/images-server/swagger-ui-where-set-auth-example.png" alt="image">
</div>

当前 HugeGraph 支持基于 Basic 和 Bearer 两种形式设置鉴权信息。

<div style="text-align: center;">
<img src="/docs/images/images-server/621swaggerui-set-auth-example.png" alt="image">
<img src="/docs/images/images-server/swagger-ui-set-auth-example.png" alt="image">
</div>

### 7 停止 Server
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions content/en/docs/quickstart/hugegraph-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -662,19 +662,19 @@ For detailed API, please refer to [RESTful-API](/docs/clients/restful-api)
You can also visit `localhost:8080/swagger-ui/index.html` to check the API.

<div style="text-align: center;">
<img src="/docs/images/images-server/621swaggerui示例.png" alt="image">
<img src="/docs/images/images-server/swagger-ui.png" alt="image">
</div>

When using Swagger UI to debug the API provided by HugeGraph, if HugeGraph Server turns on authentication mode, you can enter authentication information on the Swagger page.

<div style="text-align: center;">
<img src="/docs/images/images-server/621swaggerui-where-set-auth-example.png" alt="image">
<img src="/docs/images/images-server/swagger-ui-where-set-auth-example.png" alt="image">
</div>

Currently HugeGraph supports setting authentication information in two forms: Basic and Bearer.
Currently, HugeGraph supports setting authentication information in two forms: Basic and Bearer.

<div style="text-align: center;">
<img src="/docs/images/images-server/621swaggerui-set-auth-example.png" alt="image">
<img src="/docs/images/images-server/swagger-ui-set-auth-example.png" alt="image">
</div>

### 7 Stop Server
Expand Down

0 comments on commit f4b6519

Please sign in to comment.