-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
重构 OpenAPI Schema 解析逻辑引入新的 RootDefinitions 和 Definitions 结构体,简化了 Open…
…API Schema 的解析过程。现在,直接解析 "swagger" 和 "definitions"部分,避免了额外的类型断言和中间变量,提高了代码的可读性和维护性。
- Loading branch information
Showing
1 changed file
with
12 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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