This is an automated email from the ASF dual-hosted git repository.
liugddx pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 5cf307c052 [Fix][Doc] Fix jetty doc error (#7883)
5cf307c052 is described below
commit 5cf307c052d472ab5b01a1337f9b6e40949570a6
Author: Jast <[email protected]>
AuthorDate: Tue Oct 22 07:33:49 2024 +0800
[Fix][Doc] Fix jetty doc error (#7883)
---
docs/en/seatunnel-engine/rest-api-v2.md | 12 +++++++-----
docs/zh/seatunnel-engine/rest-api-v2.md | 12 +++++++-----
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/docs/en/seatunnel-engine/rest-api-v2.md
b/docs/en/seatunnel-engine/rest-api-v2.md
index c21d053122..acd8bd636d 100644
--- a/docs/en/seatunnel-engine/rest-api-v2.md
+++ b/docs/en/seatunnel-engine/rest-api-v2.md
@@ -17,8 +17,9 @@ The v2 version of the api uses jetty support. It is the same
as the interface sp
seatunnel:
engine:
- enable-http: true
- port: 8080
+ http:
+ enable-http: true
+ port: 8080
```
Context-path can also be configured as follows:
@@ -27,9 +28,10 @@ Context-path can also be configured as follows:
seatunnel:
engine:
- enable-http: true
- port: 8080
- context-path: /seatunnel
+ http:
+ enable-http: true
+ port: 8080
+ context-path: /seatunnel
```
## API reference
diff --git a/docs/zh/seatunnel-engine/rest-api-v2.md
b/docs/zh/seatunnel-engine/rest-api-v2.md
index 50f7eef3b1..26ca116845 100644
--- a/docs/zh/seatunnel-engine/rest-api-v2.md
+++ b/docs/zh/seatunnel-engine/rest-api-v2.md
@@ -13,8 +13,9 @@ v2版本的api使用jetty支持,与v1版本的接口规范相同 ,可以通过
seatunnel:
engine:
- enable-http: true
- port: 8080
+ http:
+ enable-http: true
+ port: 8080
```
同时也可以配置context-path,配置如下:
@@ -23,9 +24,10 @@ seatunnel:
seatunnel:
engine:
- enable-http: true
- port: 8080
- context-path: /seatunnel
+ http:
+ enable-http: true
+ port: 8080
+ context-path: /seatunnel
```
## API参考