bzp2010 commented on a change in pull request #2104:
URL: https://github.com/apache/apisix-dashboard/pull/2104#discussion_r733293537



##########
File path: api/internal/core/entity/entity.go
##########
@@ -290,3 +290,16 @@ type Proto struct {
        Desc    string `json:"desc,omitempty"`
        Content string `json:"content"`
 }
+
+// swagger:model StreamRoute
+type StreamRoute struct {
+       BaseInfo
+       Desc       string                 `json:"desc,omitempty"`
+       RemoteAddr string                 `json:"remote_addr,omitempty"`
+       ServerAddr string                 `json:"server_addr,omitempty"`
+       ServerPort int                    `json:"server_port,omitempty"`
+       Sni        string                 `json:"sni,omitempty"`

Review comment:
       Fix

##########
File path: api/internal/core/entity/entity.go
##########
@@ -290,3 +290,16 @@ type Proto struct {
        Desc    string `json:"desc,omitempty"`
        Content string `json:"content"`
 }
+
+// swagger:model StreamRoute
+type StreamRoute struct {
+       BaseInfo
+       Desc       string                 `json:"desc,omitempty"`
+       RemoteAddr string                 `json:"remote_addr,omitempty"`
+       ServerAddr string                 `json:"server_addr,omitempty"`
+       ServerPort int                    `json:"server_port,omitempty"`
+       Sni        string                 `json:"sni,omitempty"`

Review comment:
       Fixed




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to