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
flowchart LR
A["修改 controller 路径"]
B["更新 docs.go 文档"]
C["调整 swagger.json 配置"]
D["修改 swagger.yaml 配置"]
A -- "同步路径修改" --> B
B -- "保持接口一致" --> C
C -- "文档统一" --> D
Why: This suggestion addresses a potential mismatch by aligning the documented route with the controller’s use of /re_execute, which is important for API consistency even though it only alters a single endpoint string.
Why: The proposal ensures that the Swagger documentation’s endpoint is updated to reflect the change to /re_execute, impacting related attributes for API consumers; it is a moderate but important correction.
Why: The suggestion merely confirms that the @router path in the controller matches documentation, with the improved code identical to the existing code; it is a useful consistency check but of moderate impact.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
关联的 issue
#3145
描述你的变更
修复工单sql重试接口路径
确认项(pr提交后操作)
Tip
请在指定复审人之前,确认并完成以下事项,完成后✅
not_compatibleneed_update_doclink #3148
Description
修正工单重试接口路径错误
更新API文档中的路径配置
统一swagger接口路径与描述
Diagram Walkthrough
File Walkthrough
workflow.go
更新工单重试接口路径sqle/api/controller/v1/workflow.go
docs.go
调整API文档路径配置sqle/docs/docs.go
swagger.json
修正swagger.json接口路径sqle/docs/swagger.json
swagger.yaml
统一swagger.yaml接口路径展示sqle/docs/swagger.yaml