fix: swagger

This commit is contained in:
2025-12-16 17:11:55 +08:00
parent ff4fba7a43
commit df8c0627b4
3 changed files with 23 additions and 10 deletions

View File

@@ -56,10 +56,10 @@ func commandSwagInitE(cmd *cobra.Command, args []string) error {
PropNamingStrategy: swag.CamelCase,
OutputDir: filepath.Join(root, outDir),
OutputTypes: []string{"go", "json", "yaml"},
ParseVendor: false,
ParseDependency: 0,
ParseVendor: true,
ParseDependency: 1,
MarkdownFilesDir: "",
ParseInternal: false,
ParseInternal: true,
Strict: false,
GeneratedTime: false,
RequiredByDefault: false,